Step 5 – Duplicate and Modify the Code Set

Copy and Modify the Code You Just Made


Now let’s get our robot to make another pattern similar to the last one.

Right Click on the Repeat Block.

Drag the Duplicate code underneath the code you just placed.

Change Pen Color to a new color.

(Optional) Repeat this step and change the color once more, making 3 repeating colored triangles

Code Example:


Click to replay