Draw a square (without a loop)

Challenge Level: Beginner

Learning outcomes

Students will be able to:

Requirement:

Write a program that draws a square, starting from point x:0, y:0, with its sides equal to 100 steps without using a repeat loop.

Testing examples:

There are no testing examples for this challenge.

Languages

Scratch

What it should look like

Click on the green flag to see the expected output of your program.

Recommended blocks
whenclicked
clearpendownpenup
gotox:0y:0move100stepsturn90degreesmove100stepsturn90degreesmove100stepsturn90degreesmove100stepsturn90degrees
wait1secswait1secswait1secswait1secs
Hints
  • A square has four equal sides and four equal angles (90-degree angles, or right angles).

  • The block waitsecs waits specified number of seconds, then continues with next block. To be able to see each sides of the square being drawn, use the wait block after turning each angle.

Show Scratch solution