Page 88 - ConceptGP_C4_Fb
P. 88

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
                  otherwise, the movements would occur so quickly that it would be                 wait   1  seconds
                  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.









                   86   Premium Edition-IV
   83   84   85   86   87   88   89   90   91   92   93