Page 62 - IT_V5.0_Class6
P. 62
Events blocks and their functions are as follows:
Block Explanation
It starts the script when the green flag is clicked.
It starts the script when the specified key is pressed.
It starts the script when the sprite is clicked.
It starts the script when the backdrop switches to the
specified backdrop.
It starts the script when the specified broadcast message
is received.
It sends the specified broadcast message to trigger other
scripts that are waiting for this message.
It sends the specified broadcast message and waits until
all scripts triggered by this message are completed before
continuing.
Example 5: Make a sprite glide across the screen and rotate upon touching the edges when the
spacebar is pressed.
60 Information Technology (V5.0)-VI

