Using Sensing Blocks in Scratch
In Scratch, sprites can not only move and speak, but they can also sense things around them.
The Sensing blocks help sprites detect actions such as touching another sprite,
pressing a key, or moving the mouse.
Sensing blocks make projects interactive.
They allow sprites to react to the user's actions or to other sprites on the stage.