Page 69 - 2616_V iCode_C-5
P. 69
Step 7 Click on the block 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 8 Click on block and drag it to the script area and snap it to the
script.
Step 9 Next, click on Control blocks category .
Step 10 Click and drag the C block to the script area. Snap it to the
script.
Step 11 Now, on the Motion blocks category .
Step 12 Next, drag the and blocks and snap them inside
the C block. When you position any block inside the C block, it expands to
fit the blocks. Change the steps from 10 to 100 mention and change the
degrees 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
block at the end of the code.
Creating Shapes in Scratch 67

