This project shows how to make a sprite do something (in this case, run back and forth) in just one particular scene. It does this by checking the scene name in a forever loop. If the scene name doesn't match, the sprite hides and doesn't do anything else. I used a "when backdrop switches to _" block to make the sprite show, but you could also do that inside the "if".
Remix of a project created by MikeE and remixed by MomGeek.