Page 81 - 2403_Trackpad_V5.1_C6_Fb
P. 81

SOUND BLOCKS

                 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.




                               Blocks                                        Functions


                                                      This block plays a sound until the complete sound has been
                    play sound Meow      until done
                                                      played.


                         start sound Meow             This block starts playing a sound.


                           stop all sounds            This block stops all the sound.



                         clear sound effects          This block clears all the sound effects.





                 EVENTS BLOCKS
                 Events blocks control how the blocks in a script will start to run if a particular action is done.
                 Events blocks manage events and script execution. They are yellow in colour.



                              Blocks                                           Functions



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



                      when space    key pressed      This block activates the script when the chosen key is pressed.



                        when this sprite clicked     This block activates the script when you click the sprite.




                      when space    key pressed      This block activates the script when the chosen key is pressed.


                                                     This block sends a message to all sprites, triggering them to do
                     broadcast      and wait         something, and waits until they all finish before continuing with
                                                     the next block.


                                                     This block pauses the running of the script for the specified
                         wait  1 seconds
                                                     number of seconds.




                                                                                                 Blocks in Scratch  79
   76   77   78   79   80   81   82   83   84   85   86