I have an Mouse event that flips cards when you click on them and sets their a specific position x.y for each. I created a variable "cardPosition". On each click, I add value to the variable. I also set up a condition: if cardPosition = 1 set position to x.y.
The problem is that when I click twice on the same card (that was flipped already), it messes everything up.
So my question is... I set up boolean variable FaceUp. How to add it to that Mouse event so that when the card is Face up, nothing happens when you click on it?
Thanks so much for your help.