Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 113 - 2611_SmartGPT Pro V(5.0) C-4
P. 113

    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:

                                         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 sprite in
                                        3  Add the Jordyn sprite                                      the  Sprites Info
                                        from the People category.                                     Pane to make it
                                                                                                      active.

                                                      2   Add  the  Dragon  sprite       1  Click on Choose
                                                     from the Fantasy category.          a Sprite option.

                                                                                                     Blocks in Scratch  111

| 108 109 110 111 112 113 114 115 116 117 118 |