Hi
I have a global variable "Moves" and add 1 to it every time user swipes.
Also, I have sprites that appear in random positions after each swipe.
But I can't figure out how to add 1 to "Moves" only when at least 1 of those sprites changes its position. For example, after swipe 2 of 12 sprites moved so we add 1 to "Moves".
Required: If after swipe 0 sprites move we don't add 1 to "Moves".
I don't know how to find out the previous positions of X and Y before swiping to compare them with the current.
Any ideas?
Thank you.