Scripting: Parameters

From Waltz
Jump to navigation Jump to search

A parameter is a settings or value on a Node or Type that can be accessed and often also mutated. On Types, the type of each parameter varies based on the parameter. For Nodes, almost all parameters are actually of the Expression type, with a documented type to which that expression should resolve.

Parameters on nodes that are represented by Expressions can be assigned a literal value or an Expression. Assigning a literal value will automatically convert that value to an Expression.

Expressions and Scripting
Concepts Script Expressions · JavaScript
Fundamentals Constructors · Functions · Grammar · Operations · Outputs · Parameters · Referencing Nodes
Advanced Topics Flow Control · Consumer Functions · Loops and Iterations · Reference Chains
Errors Recursion · Script Exceptions · Syntax Errors · Try and Catch