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

خواننده همه‌جانبه

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
:
/ 11 blocks
4sides150360÷turnleftbydegreesmoveforwardbypixelsبار تکرارانجاممجموعهsidesبهwhen run100moveforwardbypixels120turnrightbydegrees120turnleftbydegreesبار تکرارانجام360÷0مجموعهsidesبهsidesmoveforwardby100pixels