Event block: when green flag clicked
An event block that starts the script stacked under it. It is a hat block that sits at the top, and the program begins when you click the green flag.
Understanding Event block: when green flag clicked in Years 5–6 Creating Digital Solutions
What it does: The event block is first, and the blocks stacked under it run after the green flag is clicked. It is a hat block, so it sits at the top. Its curved top shows that no block can go above it. Hat blocks are named for their shape. They go on top of a stack and start the script. It starts a program. A Looks block such as 'say' is what makes a sprite speak.
Common mistakes: The move block counts in steps, not degrees. Degrees belong to the turn block. The line should be 'move (10) steps'. This script should start when the green flag is clicked. 'when space key pressed' is a different event block, so clicking the green flag would not run the script. Line 1 should be 'when green flag clicked'.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 41–50) and word search (Modules 41–74).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
when green flag clickedFill in the Blanks
Spot the Error
Student with a class code? Join your class →