Page 59 - 2619_PlusGPT V2.1_C-6
P. 59

and       shows and hides the Sprite on the stage.


                               block will reset any graphical effects on the sprite. They will be reset  to their default
                   value zero.


                         Let’s CatCh uP                                                                Critical Thinking

                   Number the given blocks in the correct order to form a conversation.













                   Now create this script in Scratch for the cat Sprite.


                      Sound Block

                 Sound blocks are in pink colour. They control sound functions. We can add music to our Scratch project
                 by using Sound blocks. You can even record your voice and save it. You
                 can play it with a sprite.

                                 block plays a sound without pausing the script. The
                   sound options are “Meow” or recorded sound.


                                      block plays the sound by pausing the script until the sound has finished playing.
                   The sound options are “Meow” or any recorded sounds.
                   To stop all sounds being played on all Sprites, use         block.

                              block clears all existing sound effects.


                      Events Block

                 An event is a happening which occurs due to some other things that happened before it. So, Events
                 block 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. They are yellow in color.

                            block activates the script when the green flag or Go button
                   is clicked.

                                 block activates the script when the chosen key is pressed.
                   You can choose from the given keys or you can choose the option any.

                              block activates the script when you click the sprite.






                                                                                              Scratch Programming  57
   54   55   56   57   58   59   60   61   62   63   64