Skip to content

3.1.3.4 Events

Event blocks are used to respond to program startup or external trigger behaviors, such as clicking flags, pressing keys, receiving broadcast messages, etc., to control when the program starts executing or responding to external operations.

blocks Note
image When the green flag is clicked, each line of instruction blocks below begins executing in order, often used to follow closely after the initialized operation.
image When you press a key on the keyboard, you start executing each line of instruction blocks in order.
image When you tap a character, you start executing each line of command blocks in order.
image When the background switches to "backdrop1", start executing each line of instruction blocks below in order.
image When the computer microphone loudness or timer is detected to be above 10, start executing each line of instruction blocks below in order.
image When a broadcast message is received, begin executing each of the following instruction blocks in order.
image Send a broadcast message to all characters and the stage.
image Send a message to all characters and the stage, and wait until all characters and the stage have received it.