Page 80 - iPrime_V2.2_class6
P. 80

Drag the Event block, when green flag clicked to the script area. Drag the control block, forever
                  to the script area and put it to the green flag block. Drag the move block and put it inside the
                  forever block. Now, drag the if on edge, bounce block and put it inside the forever block.

                  Now, put the control block if,then inside the forever block and snap the sensing block, touching
                  color  in the hexagon of the if loop.
                  Now, create and run the given script.



























                  The butterfly changes colour and size when it touches the colours selected in the touch block.

                  Similarly, you can create scripts with two sprites, and they change colour when they touch each
                  other.
                      DRAWING POLYGONS IN SCRATCH

                  Polygons are 2D shapes with three or more straight lines and angles. Examples of polygons are
                  triangle, square, rectangle, quadrilateral, pentagon, octagon, etc.







                   Equilateral    Square     Pentagon     Hexagon     Heptagon     Octagon     Nonagon      Decagon
                     Triangle    (4 sides)   (5 sides)    (6 sides)    (7 sides)   (8 sides)    (9 sides)   (10 sides)
                    (3 sides)


                  78     iPRIME (Ver. 2.2)–VI
   75   76   77   78   79   80   81   82   83   84   85