Page 79 - CG_v2.1_flipBooks_class_3
P. 79

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.
                 Programs in Scratch


                 Arrange the blocks to create the following scripts for the cat and the ball sprite, and then
                 run the script.




























                 Creating a New Project

                 To start working in Scratch, we first need to create a new project. Follow the given steps to
                 create a new project:


                                                          1  Click on File tab.















                                                         2  Select New.





                                                                                           More on Scratch     77
   74   75   76   77   78   79   80   81   82   83   84