Page 100 - Trackpad v5 class 4
P. 100

Step  3    Drag a         set pen color to          block into the scripts area.


            Step  4    Drag a         set to pen size 1   block into the scripts area and change
                      the size to 5.


            Step  5    Drag a         pen down       block.
            Step  6    Drag on move 10 steps block and change it to  move 50              steps .


            Step  7    Now, drag       Change pen color         by 10   block to change the pen colour.
            Step  8    Then again, move 50 steps by dragging the move 10 steps block and change it to

                       move 50      steps .

            Step  9    Change the pen colour again by using the           Change pen color         by 10
                      block.

            Step 10   At last, move 50 steps by dragging the move 10 steps block and changing

                      the steps to  move 50        steps .

            Step 11   Click the green flag at the top right corner of the stage to run your program.


                    when    clicked
                         set pen color to

                         set to pen size 5
                         pen down
                    move 50     steps
                       Change pen color      by 10
                    move 50     steps

                       Change pen color      by 10
                    move 50     steps


            Drawing A Square

            Create the following script and click four times on the block to draw a square.




                           when    clicked
                                pen down

                                set pen color to
                                set to pen size 5
                           move 50     steps

                            turn     90  degrees





             98   Pro (Ver. 5.0)-IV
   95   96   97   98   99   100   101   102   103   104   105