concept wall in category scratch
appears as: wall, walls, walls

This is an excerpt from Manning's book Hello Scratch!: Learn to program by making arcade games.
Finally, you need the script to delete a life whenever the sprite hits the wall. To deduct a life, continue filling the If/Then block:
A fight breaks out over breakfast, and there is only one way to settle it: bounce a fried egg between two cast-iron skillets without letting it hit the wall. This two-player game ends when one person reaches seven points by making their opponent miss the egg. Breakfast Wars is a remake of the first ball-and-paddle game, Pong, though it replaces Pong’s white line paddle with a pan and its LED light with an egg, as seen in figure 4.1.