Page 103 - Trackpad v5 class 4
P. 103

WAIT BLOCK

            This block makes the script wait for the number of seconds specified by us, before the
            next block follows. Sometimes, it is important to use the Wait block             wait   1  seconds
            otherwise, the movements would occur so quickly that it would be

            difficult to observe them.





                Tick ( ) if you know this.
                ▶   Forever block is used to make the sprite do something infinitely (nonstop) until a
                   command is passed over it by the user.
                ▶  Pen down block places the pen in the down position.







                     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:





                                                                                               3  Click on the
                                                                                              Dragon sprite to
                                                                                              make it active.
                                   when   clicked
                                   glide  1  secs to x: 100  y:  50
                                   repeat 10
                                    wait  1  seconds                                             4  Click on the
                                                                                                Jordyn sprite
                                    change size by  10
                                                                                                to make it
                                                                                                active.
                                        2  Add the Jordyn
                                        sprite from the
                                        People category.







                                                  1  Add the Dragon sprite
                                                 from the Fantasy category.








                                                                                    Drawing Shapes in Scratch  101
   98   99   100   101   102   103   104   105   106   107   108