While Toggled/es: Difference between revisions

From StarLogo Nova Wiki
(Created page with "==Nuances== Use this block when you want a stack of code to be continuously executed.")
No edit summary
Line 3: Line 3:
[[Category:Interfaz]]
[[Category:Interfaz]]
<section begin="image"/>
<section begin="image"/>
[[File:While toggled.png|alt=While toggled|thumb]]
[[File:Mientrasestápresionado.png|alt=While toggled|thumb]]
<section end="image"/>
<section end="image"/>
<section begin="name" />{{Block|while [▼] toggled}}<section end="name" /> is a code block from the [[Interface]] drawer.
<section begin="name" />{{Block|while [▼] toggled}}<section end="name" /> is a code block from the [[Interface]] drawer.

Revision as of 14:48, 5 July 2023

Other languages:
While toggled

while [▼] toggled is a code block from the Interface drawer.

Usage

while [▼] toggled executes commands repeatedly while the toggle button widget is turned on. When the toggle button widget is turned off, the commands in this block don’t run. Widgets can be created using the Edit Widgets feature.

Syntax

while [Dropdown: Type of Widget] toggled

Nuances

Use this block when you want a stack of code to be continuously executed.

Related Blocks