concept game stop script in category scratch
appears as: game stopping script, The game stopping script

This is an excerpt from Manning's book Hello Scratch!: Learn to program by making arcade games.
The door is like the flagpole and castle at the end of each level of Super Mario Bros. It’s the exit into the next level, though in this case, it’s the end point for the game. There are two scripts that power the door: a cloning script and a game stopping script. Keep the blue box around the door sprite in the Sprite Zone for both scripts.