Page 131 - ScienceStd4
P. 131

2.  Drag and drop the ‘when clicked’ block on the script area.

               3.  Click on the ‘Motion’ block menu.


               4.  Drag and drop the ‘go to (random position)’ block on the
          FOR ONLINE READING ONLY
                    script area.


               5.  Attach the ‘go to (random position)’ block to the ‘when
                    clicked’ block as shown in Figure 27.

























                  Figure 27: After attaching the ‘go to’ block to ‘when clicked’ block


               6.  Click on the ‘Green flag’ to play the game.


               7.  Repeat playing the game to see how the Sprite goes to
                    a ‘random position’ each time. What did you notice in this
                    game?


              Combining multiple movement



               Activity 9



               Use Scratch program to combine multiple movements

               In this activity, you will combine three Sprite movements. First,





                                                   124



                                                                                            14/01/2025   18:38
     SCIENCE AND TECHNOLOGY STD 4.indd   124
     SCIENCE AND TECHNOLOGY STD 4.indd   124                                                14/01/2025   18:38
   126   127   128   129   130   131   132   133   134   135   136