Left By Degs/es: Difference between revisions

From StarLogo Nova Wiki
(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:left_by_degrees_example.gif|alt=Left By Degrees example gif|thumb]]
[[File:while_toggled_example.gif|alt=Left By Degrees example gif|thumb]]
[[File:left_by_degrees_example.png|alt=Left By Degrees example code|thumb]]
[[File:while_toggled_example.png|alt=Left By Degrees example code|thumb]]
</div>
</div>



Latest revision as of 18:31, 16 August 2023

Other languages:
Girar Izquierdo Grados bloquear

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:

  1. a number

Example

Left By Degrees example gif
Left By Degrees example code

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.

Para tener en cuenta

Related Blocks