When Pushed: Difference between revisions

From StarLogo Nova Wiki
No edit summary
No edit summary
Line 15: Line 15:
<section begin=image/>[[File:When Pushed Nums.png|right|alt=When pushed Block|thumb]]<section end=image/>
<section begin=image/>[[File:When Pushed Nums.png|right|alt=When pushed Block|thumb]]<section end=image/>
<!-- <code>when [Dropdown: Type of Widget] pushed</code> -->
<!-- <code>when [Dropdown: Type of Widget] pushed</code> -->
Input:
#Select the desired push-button widget from the drop down menu.


==Nuances== <!--T:4-->
==Nuances== <!--T:4-->

Revision as of 15:57, 31 July 2023

Other languages:
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 pushed Block

Input:

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

Nuances

Related Blocks