(Optional) Create a Repeating Square

Making a Repeating Square Shape

Repeat Step 2 Create a Loop.

Repeat Step 3 Add Repeating Movement Blocks.

Change the angle in the to 90.

The turn angle is 90 because 4 repeated turns of 90 degrees makes 360 degrees, meaning the robot will return to its original spot.

Code Example:

Click to replay