Undefined
An undefined-typed variable always holds the JavaScript value undefined. There's
nothing to type: instead of a free-text default-value field, the Variables panel shows
this as a locked value, since undefined is the only value this type can ever hold.
Compiles to
let notSet = undefined;
Get Variable / Set Variable
A Get notSet node reads it back; a Set notSet node assigns a new value and continues:
Get Variable
Set Variable
Use case
- Deliberately unset: declare a variable that's explicitly assigned later, or that intentionally mirrors a "missing" JSON field, rather than defaulting it to some other placeholder value.
Related
- Get Variable / Set Variable — the generic node reference (ports, wiring rules).
- Variables overview — declaring a variable, keywords, and cross-canvas concepts (Export, Module Variables).