Page 85 - ConceptGP_C4_Fb
P. 85

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





                                                                                         Drawing Shapes in Scratch  83
   80   81   82   83   84   85   86   87   88   89   90