Set Variable: Difference between revisions
|  (Moved information about variables to a different page) Tag: Replaced | -u ndefined- (talk | contribs)  m (Add information, adapted from old wiki article) | ||
| (One intermediate revision by one other user not shown) | |||
| 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 == | |||
| * [[Variables]] | |||
| * [[Get Variable]] | |||
| * [[List Element]] | |||
| * [[Set Reference]] | |||
| [[Category:Blocks]] | [[Category:Blocks]] | ||
Latest revision as of 16:18, 28 June 2024
Set Variable
  | Type | Script block | 
| Collider | None | 
| Folder | Variables | 
| 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:

 
	