I am creating a memory card game with a grid of 6x6 cards.
I have created a card object with an event to show frame one when the cursor is over the card. An else statement resets the frame to zero when cursor is no longer over the card.
The issue I am having is since all my cards touch, they are not being reset to frame zero, even if my mouse has moved to a different card instance. For instance, I move my mouse over the top-left card and it changes to frame one, when I move my mouse to the card next to it that card also changes to frame one but the original card does not change back to frame zero.
The cards only set back to frame zero if I move the cursor into an area where the card object does not exist.
Any help is appreciated.