Page 108 - trackpad v5.1 class 4 flipbook
P. 108
WORKING WITH TWO SPRITES
In Scratch, we can work with two sprites. Let us learn how it works.
FUN WITH DRAGON AND JORDYN
Create a scene with Dragon and Jordyn by following the given steps:
when clicked
glide 1 secs to x: 100 y: 50
repeat 10
wait 1 seconds
change size by 10 4 Click on the
Dragon sprite
or Jordyn
3 Add the Jordyn sprite in the
sprite from the Sprites Info
People category. Pane to make
it active.
2 Add the Dragon sprite 1 Click on Choose
from the Fantasy category. a Sprite option.
Code for Step 2 Code for Step 3
when clicked
glide 1 secs to x: 100 y: 50 when clicked
repeat 10
move 30 steps
wait 1 seconds
say Hello Everyone! for 2 seconds
change size by -10 move 30 steps
say I have seen a flying Dragon for 2 seconds
106 Pro (V5.1)-IV

