top of page

Events Blocks

Events blocks are used to trigger action.



What events blocks are?

Events mean one action triggers another action. Example “Start to rain” action triggers the action “take ambarella”. The action “school last bell rings” triggers the action “students go home”.

Events blocks are used to trigger action. Events blocks are essential for each project. There are 6 hat blocks and 2 stack blocks available in this category.

Events blocks can be applied to both sprite and backdrop.





How to use “when green flag clicked” block?

This is a hat block. This block allows to trigger actions when the green flag in scratch is clicked.




How to use “when () keyboard key pressed” block?

This block allows to trigger actions when the key in keyboard is pressed.

You can use any of the keyboard keys given in the drop down.








How to use “when this sprite/stage clicked” block?

This block allows to trigger actions when the selected sprite/backdrop is clicked.








How to use “when backdrop switches to () backdrop” block?

This block allows to trigger actions when the backdrop switches to another backdrop. To use this block, you must have 2 or more backdrops.

First you must write the below code to the backdrop (Select the backdrop)





After that select the sprite and write the below code.







How to use “when loudness > ()” block?

This block allows to trigger actions when the loudness is greater than specific value.