I have one sprite with 10 different animations being spawned randomly over the layout.
I want to set a global variable according to which animations the player clicks on.
I thought I could something like if the player is touching a particular animation it will destroy that animation and set one of the global variables but can't see this as an option.