Left By Degs/es: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 25: | Line 25: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
[[File: | [[File:while_toggled_example.gif|alt=Left By Degrees example gif|thumb]] | ||
[[File: | [[File:while_toggled_example.png|alt=Left By Degrees example code|thumb]] | ||
</div> | </div> | ||
Latest revision as of 18:31, 16 August 2023
girar izquierdo [_] grados
es un bloque de código parte de movimiento cajón.
left by [_] degs
is a code block part of the Movement drawer.
Uso
left by [_] degs
orienta elagent en Spacelanda la izquierda de su originalheading por el número de grados introducido durante cada reloj Starlogotick.
Sintaxis
dejado por número grados
Inputs in this block:
- a number
Example
When the ‘forever’ button is toggled, the ‘Turtle’ agents move forward and turns left by a random number between -30 and 30, allowing them to wander forward in a random direction.