Hi everyone,
I've got a sprite that I have set to change colour on mouse click. Each colour stored as a different frame in the default animation. Is it possible to save which frame the sprite is on? I want to be able to change layout and when I go back, the sprite is on the same frame as when I left.
My events are:
- On start layout > sprite > Stop animation
- On Left button clicked on sprite > sprite > set animation frame to sprite.AnimationFrame+1
- On Left button click on sprite > sprite > set animation frame to 0
+
animation frame = 6
This might not even be the smartest way to do this operation to be honest so do point out if I'm being stupid.