if you want a fail proof solution you need to use uid picking or set a variable on the cards (if uids are confusing making a variable and setting a number is just a
that is it.. now u have a ascending number for each card in the screen already existing at the start of layout)... that being said as now thinking the cards are the same sprite but duplicated.
so if the cards are all the same sprite and you want to uid pick you do the following
then
then you have two separated conditions as the mouse one not under the mouse but separated entirely different things
1st will be
2nd one would be
(if you dont know what inverted is ... you right click the condition and there is a invert action that basically acts like else.... but more secure then else... cause else means anything but that action .. that can mean a glitch a bug etc that you might not want to trigger it ... while reverse means only uid not matching that variable in this case.)
then you need a hover out of cards reset for the picking so the last card picked card won't stick to changed.
and that is basically
and that is it... easy 5 conditions.
here is a Construct 2 example just import it in C3