Page 81 - IT_V5.0_Class8
P. 81

Example 11: When the green flag is clicked, the sprite waits for 1 second, then repeats moving
                 10 steps 10 times.



























                 Example 12: When the green flag is clicked, the sprite turns 15 degrees clockwise continuously
                 in the forever block, creating a constant spinning effect.



























                 Sensing Blocks

                 These blocks in Scratch are used to detect various conditions and interactions within the project,
                 such as touch, mouse position, and distance. There are 18 Sensing blocks in Scratch 3.0.

                  Block                               Explanation

                                                      Checks if the sprite is touching the specified object. The
                                                      two options are available “mouse-pointer” or “edge”.

                                                      Checks if the sprite is touching a specified colour.

                                                      Checks if a specified colour on the sprite is touching another
                                                      specified colour.




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