Events blocks are one of the ten categories of blocks. They are color-coded brown 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.
Initially after being given their own category, Events blocks were called "Triggers" in the Experimental Viewer and early versions of Scratch 2.0. 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.
|Note:||Click on a block to learn more about it!|
Scratch 3.0 has the following 6 Event Hat blocks:
when green flag clicked
when [ v] key pressed
when this sprite clicked
when backdrop switches to [ v]
when [ v] > ()
when I receive [ v]
Scratch 3.0 has the following 2 Event Stack blocks:
|Main Block Categories|