While Toggled/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 9: | Line 9: | ||
<p id="tooltip">{{Block|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.</p> | <p id="tooltip">{{Block|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.</p> | ||
==Syntax== | |||
<code>while [Dropdown: Type of Widget] toggled</code> | <section begin=image/>[[File:While Toggled Nums.png|right|alt= While Toggled Block|thumb]]<section end=image/> | ||
<!-- <code>while [Dropdown: Type of Widget] toggled</code> --> | |||
==Nuances== | ==Nuances== |
Revision as of 15:58, 31 July 2023
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
Nuances
Use this block when you want a stack of code to be continuously executed.