Page 81 - IT_V5.0_Class7
P. 81

Example 17: Make a sprite draw a hectogon until the stop button is clicked.


























                    BROADCASTING MESSAGES

                 Example 18:  When the green flag is clicked, Sprite 1 broadcasts the message “Hello!”. When
                               Sprite 2 receives “Hello!”, it broadcasts the message “Hi! How are you?”.

























                 Once the message is received by the second sprite, it will broadcast the message for first sprite.



























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