Page 68 - 2501_KVS_C-3
P. 68
Coding on Sprite “Cat”
Step 1: Add sprite ”banana” and “cat” in the
stage.
Step 2: Choose cat sprite and then click on
“Motion” Block, it shows different
motion blocks of instructions in the
“blocks palette”.
Step 3: Directly when we click on the block
“move 10 steps”, cat will move 10
steps ahead. You can also change 10
to any number.
OR Fig. 6.5
Drag and drop the block “move 10 steps” in the script area and then
change the number from 10 to any number. When we click on this block “move 10
steps”, in the script area then also cat will move 10 steps or any no. of steps, as you
want.
Aryan: Is it possible to move the cat forward as well as backward?
Gowri: Yes dear, cat can move in forward as well as backward direction.
6.5.1 Move the sprite Forward
Positive(+) number: will move the cat in forward direction.
6.5.2 Move the sprite backward
Negative(-) number: will move the cat in backward direction.
Similar to move the sprite, we can also turn the sprite.
6.6 TURN THE SPRITE—BY DRAGGING BLOCKS IN
SCRIPT WINDOW
Aryan: Oh! Good, please tell the blocks which can turn the sprites?
Gowri: There are two blocks to turn the sprites. These are: -
66 KVS DELHI REGION 2025

