Page 110 - TP_Pro_V5.1_Class5
P. 110
After creating the variable age, let us create the following block stack for the sprite: Now,
click on the green flag.
Cat displays the message “What’s your age?”
We can enter our age
here (Here, we have
entered the age 12) and
click on the Tick button.
After we enter our age, the cat says “I Know your age is 12”.
uiz Bee Which block is used to ask questions in Scratch?
_____________________________________________________________
PROJECT: CHASE THE STARFISH
Now, let's create a project using Scratch blocks.
CHASE THE STARFISH
Step 1 Choose the Starfish sprite under the Animal category from the
Library.
when clicked
forever
Step 2 Choose the Underwater 1
glide 1 secs to random position
backdrop from the Library.
Step 3 Click on the Starfish sprite to make it active when clicked
and create the block stack as shown. forever
if touching starfish ? then
Step 4 Add another sprite named
Diver2 under the People play sound pop until done
category from the Library. glide 1 secs to random position
Click on the Diver2 sprite to
make it active.
108 Pro (V5.1)-V

