Page 91 - KEC Khaitan C4 Flipbook
P. 91

Sprite – A sprite in Scratch is a character or object that can move, interact, and perform
                 actions. It can be an animal, person, object, or shape, controlled using code blocks to
                 move, talk, change appearance, or respond to user inputs. The default sprite in Scratch is
                 an orange cat.
                 The Sprites Info Pane allows you to add new sprites, change their size, position, direction,

                 and more to make your project exciting and interactive!
                 Stage – The Stage in Scratch is the background area where sprites perform actions. It
                 does not move but can change with different backdrops to create scenes.
                 The Backdrop Library provides a variety of backgrounds to enhance projects, making
                 stories, games, and animations more visually appealing and engaging.

                 Code Area – The Code Area in Scratch is where you drag and arrange blocks to create
                 scripts that control sprite actions. It allows you to build animations, games, and interactive
                 projects.
                 The Code Tab organises different coding blocks (Motion, Events, Looks, etc.), helping users

                 easily find and use blocks to program their sprites.


                           MOTION BLOCK


                 Motion blocks are used to control the movement of a Sprite. They are blue in colour.




                     What is the name of the block based coding language by Google similar to Scratch?


                 Some of the commonly used motion blocks are:



                            Blocks                                         Functions




                         move 10   steps         This block lets the Sprite move forward (in the direction it is
                                                 facing).


                      turn    15  degrees        This block lets the Sprite to turn in clockwise direction.




                      turn    15  degrees        This block turns Sprite in anti-clockwise direction.


                                                 This block  gives  the  x and  y position  of the  sprite  on the
                       go to x: 0  y: 0
                                                 stage.

                                                 This  block  tells  the  Sprite  to  follow one  of the  two  given
                       go to  mouse-pointer
                                                 options: the mouse-pointer or a random position.




                                                                                                   Scratch Basics  89
   86   87   88   89   90   91   92   93   94   95   96