Ah, hang on - I've spotted a problem.
The animation frame is chosen and displayed after the score goes above 2 (score > 2) and then the layout resets.
But when the layout restarts, the chosen frame is then replaced by another random chosen frame, rather than the frame that was previously chosen.
How do I get it so whatever random frame that is chosen remains chosen the next time the layout is reset?
Currently...
Global number Sprite01 = 0
System > On start of layout > Sprite01 > set animation frame to choose(0,1,2,3,4)
Events happen that reset the layout...
System > Score = 2 > Sprite01 > Set Visible
...
I need to save the selected animation frame for the next layout, similar to how the score is added to at the end of one layout and recalled at the beginning of the next.