Rotate your device.
Turn off orientation lock in device settings.

Immersive Reader

Here’s some code that can draw any regular polygon.

There’s a new variable called sides that is set to 4.

Can you use the sides variable (along with the math block) to turn the right amount regardless of how many sides are in the polygon?

1
Blocks
Workspace
:
10
/ 11 blocks
4sides150360÷turnleftbydegreesmoveforwardbypixelsrepeattimesdosetsidestowhen run100moveforwardbypixels120turnrightbydegrees120turnleftbydegreesrepeattimesdo360÷0setsidestosidesmoveforwardby100pixels