Page 62 - TP-Play_V-2.0_Book-4
P. 62
MORE BLOCKS IN SCRATCH
08
Your Aim
to learn about:
l Block Categories l Setting the Sprite Position
You know that Scratch blocks are divided into different categories. Each block
performs a different function. Let's learn more blocks of Scratch in detail.
BLOCK CATEGORIES
The blocks in Sprite are divided into different categories based on their functions.
In most of these blocks, you can change the value in the block to suit your script.
Motion Looks Sound Events Control Sensing Operators Variables My Blocks
Motion Blocks
The blocks that are used to control the movement of a Sprite are known as Motion
blocks. They are blue in colour. Some of the commonly used motion blocks are:
move 10 steps block lets the Sprite move forward (in the direction it is facing) the
number of steps given in the text box in the block. When we write the value with
a minus (–) sign, the Sprite moves backward, e.g. move – 10 steps move –10 steps .
turn 15 degrees block lets the Sprite turn in clockwise direction by the given
degrees and turn 15 degrees block turns Sprite in anti-clockwise direction by
the given degrees.
To make a Sprite jump to a new position on the stage, use go to x: 0 y: 0 block.
This block gives the x and y position of the Sprite on the stage.
Use go to mouse-pointer to tell the Sprite to follow one of the two given options: the
mouse pointer or a random position.
62 Play (Ver. 2.0)-IV

