Page 86 - Trackpad_ipro 4.1_Class6
P. 86

Step 10   Click on the block      set pen color to    and drag it to the script area. Snap it to the
                           script. Click on the colour dot and choose a colour of your choice.
                  Step 11  Now we will have to click on Motion blocks category         .

                  Step 12   Next drag the  move  10 steps  and  turn    15  degrees  blocks and snap them inside the
                           repeat block. When you position any block inside the repeat block, it expands to fit

                           the blocks. Change the steps from 10 to 100 mention to change the degree from 15
                           to 90.
                  Step 13   In the repeat block, click and change the number of repeats from 10 to 4. Why are we
                           doing this? We know that a square has 4 sides.

                  Step 14   If you do not want the sprite to appear over the figure, you can end the code here. But if
                           you want to see both the shape and the sprite, snap the  show  block at the end of the
                           code.
























                      DRAWING A CIRCLE IN SCRATCH

                  To draw a circle, create the given script in Scratch.































                    84     iPro (Ver. 4.1)-VI
   81   82   83   84   85   86   87   88   89   90   91