When Pushed: Difference between revisions
No edit summary |
(Marked this version for translation) |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | |||
[[Category:Interface]] | [[Category:Interface]] | ||
<section begin="image"/>[[File:When Pushed Block.png|alt=The when pushed block|thumb]]<section end="image"/> | <section begin="image"/>[[File:When Pushed Block.png|alt=The when pushed block|thumb]]<section end="image"/> | ||
<section begin="name" />{{Block|when [▼] pushed}}<section end="name" /> is a code block from the [[Interface]] drawer. | <section begin="name" />{{Block|when [▼] pushed}}<section end="name" /> is a code block from the [[Interface]] drawer. | ||
<!--T:2--> | |||
==Usage== | ==Usage== | ||
<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> | <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> | ||
<!--T:3--> | |||
===Syntax=== | ===Syntax=== | ||
<code>when [Dropdown: Type of Widget] pushed</code> | <code>when [Dropdown: Type of Widget] pushed</code> | ||
==Nuances== | ==Nuances== <!--T:4--> | ||
<!--T:5--> | |||
==Related Blocks== | ==Related Blocks== | ||
*{{Block|While Toggled|while [▼] toggled}} | *{{Block|While Toggled|while [▼] toggled}} | ||
<!--T:6--> | |||
[[Category:Interface]] | [[Category:Interface]] | ||
[[Category:Code Block]] | [[Category:Code Block]] | ||
</translate> | </translate> |
Revision as of 14:52, 27 June 2023
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