Page 67 - 2617_JSSPS_C-4
P. 67
BROADCAST AND EVENTS
Events blocks run the script on the stage and control the start of scripts. Without an Events
block, no program will run. They are light yellow in colour.
Some of the commonly used Event Blocks with their description are as follows:
This block starts the script when the green flag is clicked.
when clicked
It is used to begin a project.
This block starts the script when a chosen key on the
when space key pressed
keyboard is pressed.
This block runs the script when the sprite is clicked.
when this sprite clicked
This block starts the script when the green flag is clicked.
when clicked
It is often used to begin a project.
This block starts the script when the backdrop changes to
when backdrop switches to backdrop1
a specified one.
It starts the script when the specified broadcast message
when I receive message1
is received.
It sends a message to all sprites, triggering scripts with
broadcast message1
matching "When I Receive ()" block.
This block sends a message and waits until other scripts
broadcast message1 and wait
finish before moving on.
CLONING SPRITES
Cloning allows you to make copies of a sprite while your project is running. These copies are
called clones. Each clone behaves just like the original sprite but can be given its own actions
and instructions.
Blocks for Cloning
Scratch has the following blocks in the Control category for cloning:
when I start as a clone This block makes a copy of a sprite.
Advance Features of Scratch-3 65

