Page 100 - ConceptGP_C5_Fb
P. 100

ADDING BLOCK TO ARROW1
                                                                         when      clicked
                  Step  1   Add the following block stack.
                                                                        go to x:  –140   y:  30
                                                                        set size to  80  %



                     when I receive  SpinningStopped
                                                        Step  2    Drag the when I receive New message block
                                                                  from the  Events section  and choose the
                                 New message
                                                                  SpinningStopped option from the drop-down
                                 message1
                                                                  list.




                  Step  3    Drag an if…then block from the Control section           if   touching color   ?    then
                           and place the touching colour block from the
                           Sensing section.




                  Step  4    Click the Color Picker tool to pick the exact colour from the wheel.



























                  Step  5    Now, drag a set my variable to 0 block from the               set  my variable   to  Red
                           Variables section and click on the drop-down arrow

                           to open the list.


                       my variable

                       Winner
                                                              Step  6    Select the Winner option from the list and
                       Rename variable                                 type the name of the colour.

                       Delete the "my variable" variable





                   98   Premium Edition-V
   95   96   97   98   99   100   101   102   103   104   105