Set Variable

From Fancade Wiki
Revision as of 16:18, 28 June 2024 by -u ndefined- (talk | contribs) (Add information, adapted from old wiki article)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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