Page 92 - Trackpad v5 class 3
P. 92
CREATING A SCRATCH PROJECT PROJECT 2: CREATING A SCENE
Create the given script and run it by clicking on the Green flag button.
As you know, a Sprite is controlled by a list of instructions known as code or script.
We create scratch programs by putting code blocks together. Let us create some
projects in Scratch. Programs are written in Scratch to move sprites in x and y when clicked
coordinates on the stage area. move 10 steps
PROJECT 1: MOVING A SPRITE turn 30 degrees
move i am a snowman
To move a sprite around the stage, we need to learn how to work with Motion
blocks. A sprite can be moved a few steps ahead or turned by different angles. Let
us now create a project that instructs a sprite to move.
Step 1 From the Events block, drag a when clicked block.
Step 2 From the Motion block drag a move 10 steps block.
SAVING A PROJECT
Step 3 Click on the number 10 and change it to move 50 steps (The number
determines how far across the screen you want the sprite to move.) To save a project before closing
Step 4 Drag a turn 15 degrees block. The sprite will rotate 15 degrees the Scratch window, follow the
clockwise. (To change the angle of turn, change the number of degrees given steps:
and then click on the block to make the sprite turn.)
Step 5 Now, click on move 10 steps and change it to move 50 steps
Step 6 Click the to run your program.
when clicked
move 50 steps
turn 15 degrees
move 50 steps
Fill in the blanks.
uiz Bee 1. ______ is the default Sprite in Scratch.
2. ______ blocks are used to control the movement of a Sprite.
90 Pro (Ver. 5.0)-III

