Value
Output one or more constant values of any type.
What it does
Value holds a constant of any type: a number, string, boolean or colour. Output Type sets which kind each item widget edits. Each item also accepts a wire on its left side; connect something upstream and the item switches from an editable constant to a passthrough of that wire's value.
Raise Item Count above 1 to add more item slots. With more than one item, the node's main output becomes a List built from all the items in order rather than a single value.
When to use it
A single constant, a number, colour swatch, toggle or label, driving a parameter elsewhere in the graph
A short hand-built List of numbers, colours or strings, without generating them procedurally
A named plug point: a slot that is normally a hardcoded constant but can take a wire later without changing anything downstream
| Parameter | Type | Default |
|---|---|---|
output_type | String | "Number" |
n_items | Number | 1 |
Gotchas
Every item is both a widget and a wire target. Leave it unconnected to type a constant, or wire a value into the item's left side to override the widget.
Item Count controls how many item widgets are shown. It does not resize an existing List coming in from elsewhere. For a List sized to match another input, generate it with Range or Random.
Output Type applies to every item on the node; a number item and a colour item cannot share one Value node. For mixed types, use separate Value nodes or combine outputs with Split / Combine.
Worked example
Add a Value node. Leave Item Count at 1 and Output Type at Number.
Type a number into the item widget. This is now a constant feeding anything wired to it.
Raise Item Count to 3 to add two more item slots; the node's output becomes a List of the three values.
Wire another node's output into one of the items to swap that slot from a constant to a live passthrough.
See also
Range · List Operations · Null · Collections