When Pushed

From StarLogo Nova Wiki
Revision as of 15:01, 8 August 2023 by Admin (talk | contribs) (Marked this version for translation)
Other languages:
The when pushed block

Executes commands inside this block (once, from top to bottom) when the push button widget is pushed. Widgets can be created using the Edit Widgets feature.

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 pushed Block

Input:

  1. Select the desired push-button widget from the drop down menu.

Nuances

Related Blocks