concept when Flag click block in category scratch
appears as: When Flag Clicked block

This is an excerpt from Manning's book Hello Scratch!: Learn to program by making arcade games.
Click the When Flag Clicked block.
To use the When Flag Clicked block
This script in figure 3.3 is simple, but illustrates the idea that all scripts need a starting point. It begins with a When Flag Clicked block. That tells Scratch that you want the program to start when the green flag above the Stage is clicked. The next block (Move 100 Steps) tells Scratch what you want to have happen after the green flag is clicked: you want the sprite you programmed to move 100 spaces to the right. It will move the cat every time the green flag is clicked.