Page 73 - TP_Play_V2.1_class4
P. 73

MORE BLOCKS IN SCRATCH
                    09














                       Your Aim

                       to learn about:

                            l  Block Categories       l  Setting the Sprite Position



                 You  know  that  Scratch  blocks are  divided into  different  categories.  Each  block
                 performs a different function. Let's learn more blocks of Scratch in detail.

                    BLOCK CATEGORIES

                 The blocks in Sprite are divided into different categories based on their functions.
                 In most of these blocks, you can change the value in the block to suit your script.




                         Motion   Looks   Sound    Events  Control  Sensing   Operators   Variables  My Blocks
                 Motion Blocks

                 The blocks that are used to control the movement of a Sprite are known as Motion

                 blocks. They are blue in colour. Some of the commonly used motion blocks are:

                    move  10 steps  block lets the Sprite move forward (in the direction it is facing) by
                    the number of steps given in the text box in the block. When we write the value

                    with a minus (–) sign, the Sprite moves backward, e.g.  move            –10 steps  will move the
                    sprite backwards by 10 steps.

                     turn  15  degrees   block lets the Sprite turn in  clockwise direction by the given
                    degrees and  turn       15  degrees  block turns Sprite in anti-clockwise direction by

                    the given degrees.

                     To make a Sprite jump to a new position on the stage, use                go to x: 0  y: 0  block.
                    It enables the sprite to go to x and y position on the stage.







                                                                                      More Blocks in Scratch      71
   68   69   70   71   72   73   74   75   76   77   78