Page 77 - IT_V5.0_Class8
P. 77

Example 7: Make the sprite plays the Meow sound effect from the start, immediately playing
                 the sound without delay. In contrast, the sprite starts playing the Meow sound effect.


























                 Example 8: Create a sprite plays the Meow sound effect while increasing its pitch by 10, then
                 decreases its volume by 10%. Finally, it sets the volume back to 100%, ensuring the sound plays
                 at the original volume level.


























                 Event Blocks

                 These blocks in Scratch are used to detect events and trigger scripts when those events occur.
                 They allow the user to start scripts based on various inputs and conditions. Without event blocks,
                 the script can’t run. There are 8 Events blocks in Scratch 3.0.

                  Block                                      Explanation


                                                             Starts the script when the green flag is clicked




                                                             Starts the script when the specified key is pressed





                                                                                              Learning Scratch   75
   72   73   74   75   76   77   78   79   80   81   82