Page 58 - modular4.0
P. 58

Chapter Profile
                         SETTING THE SPRITE POSITION



                  The stage is divided into different values of x and y. Each dot on the stage is made up of


                  both x and y values. The value of x gives the horizontal (left to right) location of the Sprite.
                  The value of y gives the vertical (top to bottom) location of the Sprite. The centre of the
                  stage has x and y values as 0.


                                      block helps you to fix the position of the sprite at the beginning of a

                  script. Sometimes due to some scripts, the sprite goes beyond the stage. This block helps
                  to bring the sprite to the desired location.


                            Recap



                         The blocks that are used to control the movement of a Sprite are known as Motion blocks.
                        Looks blocks control how a Sprite appears on stage.

                         Sound blocks control sound functions. We can add music to our Scratch project by
                        using Sound blocks.
                         Events blocks actually control how the blocks in a script, will start to run, if a particular
                        action is done.

                        Events blocks control events and the starting of scripts.
                         Control blocks control the way the script runs in a project. They have looping blocks
                        which are used when the same blocks have to be repeated for a number of times.
                        The position of a sprite is given by the x and y values on the stage.




                  Exercise


                  A.  Tick ( ) the correct option.
                      1.  Which block is used to move a sprite forward in Scratch?


                          a.                                               b.


                          c.                                               d.

                      2.  Which block is used to add a speech bubble to a sprite?

                          a.                                               b.


                          c.                                               d.








                56   Modular (Ver. 4.0)-V
   53   54   55   56   57   58   59   60   61   62   63