Events is one of the ten categories of Scratch blocks. They are color-coded light yellow and are used to sense events, which trigger scripts to run. Event blocks are essential for every project: without the hat blocks from this category, a project would not be able to begin except by manually running scripts.
There are currently 9 Events blocks: 7 Hat blocks and 2 Stack blocks. It is the smallest category of blocks.
In Scratch 1.4 and earlier, all events blocks were under the Control Blocks category.
Initially after being given their own category, Events blocks were called "Triggers" in the Experimental Viewer and early versions of Scratch 2.0. This name was also used in a version of Scratch 1.x called Classmate Scratch. However, the name was changed by Scratch Day 2012 to "Events".
Events originally also included "scene" blocks, in which a script could trigger a new scene to begin and sprites or the stage could respond to the new scene. However, these were very similar to the broadcasting blocks, and were most likely removed due to repetition and confusion.
Blocks
Hint: | Click on a block to learn more about it. |
Scratch 3.0 has the following 7 Events Hat blocks:
when green flag clicked
when [ v] key pressed
when this sprite clicked
when stage clicked
when backdrop switches to [ v]
when [ v] > ()
when I receive [ v]
Scratch 3.0 has the following 2 Events Stack blocks: