Page 71 - IT_V5.0_Class7
P. 71

Step 8:   Select the message name from the drop-down of the when I receive block.
                 Step 8:  Drag the say for 2 seconds block and drop it below the when I receive block.

                 Step 9:  Change the message. In our case, we have used the default message.

























                 Control Blocks

                 In Scratch, Control blocks are used to manage the flow and logic of the program. They allow
                 sprites to make decisions, repeat actions, and wait for certain events to occur. There are 11
                 Control blocks in Scratch 3.0.

                  Block                  Explanation

                                         Pauses the script for the specified number of seconds.





                                         Repeats the blocks inside this loop a specified number of times.







                                         Repeats the blocks inside this loop indefinitely.






                                         Runs the blocks inside if the specified condition is true.








                                         Runs the blocks inside the first section if the condition is true, otherwise
                                         runs the blocks inside the second section.






                                                                                              Learning Scratch   69
   66   67   68   69   70   71   72   73   74   75   76