Set Variable: Difference between revisions

From Fancade Wiki
(Added related pages)
m (Add information, adapted from old wiki article)
 
Line 11: Line 11:


See [[Variables]] for more information.
See [[Variables]] for more information.
== Notes ==
If {{Port|?|Value}} remains not wired, the variable will not be overwritten.
This could be used to provide default values for a custom script block:
[[File:Set_Variable_default_value.png|thumb|none|Demonstration applying a default value, 2. The variable is global for inspection.]]


== Related ==
== Related ==

Latest revision as of 16:18, 28 June 2024

Set Variable
Set_Variable_number.png
TypeScript block
ColliderNone
FolderVariables
Ports
Inputs Before
Value
Outputs After

Stores the input value into a variable.

See Variables for more information.

Notes

If Value remains not wired, the variable will not be overwritten. This could be used to provide default values for a custom script block:

Demonstration applying a default value, 2. The variable is global for inspection.

Related