When Pushed: Difference between revisions

From StarLogo Nova Wiki
No edit summary
Line 4: Line 4:


==Usage==
==Usage==
{{Block|when [▼] pushed}} begins a single execution of a [[stack]] of code (from top to bottom) when the pushed button [[widget]] is pushed. Widgets can be created using the [[Edit Widgets]] feature.
<p id="tooltip">{{Block|when [▼] pushed}} begins a single execution of a [[stack]] of code (from top to bottom) when the pushed button [[widget]] is pushed. Widgets can be created using the [[Edit Widgets]] feature.</p>


===Syntax===
===Syntax===

Revision as of 18:57, 17 August 2022

The when pushed block

when [▼] pushed is a code block from the Interface drawer.

Usage

when [▼] pushed begins a single execution of a stack of code (from top to bottom) when the pushed button widget is pushed. Widgets can be created using the Edit Widgets feature.

Syntax

when [Dropdown: Type of Widget] pushed

Nuances

Related Blocks