Page 55 - TP-Play_V-2.0_Book-3
P. 55

BLOCKS

            There are mainly ten types of blocks available in Scratch 3.0. You will now learn

            about some commonly used blocks. Blocks are the code or command used to
            create a program in Scratch. It looks like puzzle piece and each block connects with
            other blocks to perform a task.

            Motion Blocks

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

            blocks. They are blue in color. For example, the  move         10 steps  motion block is used to
            move a sprite.

            Here, 10 is the number of steps that the sprite will move forward. You can change

            the number of steps. To make the sprite move backward, give a minus (–) sign before the
            number as shown below        move  –30 steps  . This will move the sprite 30 steps back on the stage.

            Looks Blocks

            The blocks that are used to add speech and thought bubbles to the sprite are
            called Looks Blocks. They are purple in colour.

            For example, you want to add a speech bubble to the sprite for 2 seconds with a

            message ‘Hello!’ as shown  say Hello!      for 2  seconds.
            You can change the message  by clicking on the message  text box and typing
            your own message. You can also change the time by clicking on the time text box

            think Hmm.. . for 2  seconds .

            Events Blocks


            This is the topmost block. It helps to run the script on the stage as
                                                                                                when     clicked
            it controls the starting of scripts. It gives you the control of all the
            blocks as without an event block no program will run.
            To run the script, you have to click on the Go button before the other blocks.


                ADDING A SPRITE

            When you open Scratch, the default sprite1 is
            the cat. The location of the sprite cat is at the
            centre of the stage. Let us add another sprite

            to the stage.
            To add a sprite, follow the given steps:                                                          1

            Step 1   Click on the Choose a Sprite tool in
                     the Sprites Info Pane.


                                                                                 Introduction to Scratch     55
   50   51   52   53   54   55   56   57   58   59   60