Boolean
A Boolean variable holds true or false. Instead of a free-text field, the
Variables panel shows a small true/false selector for its default value, so there's no
way to type anything else in by mistake.
Compiles to
let isActive = true;
Get Variable / Set Variable
A Get isActive node reads it back; a Set isActive node assigns a new value and continues:
Get Variable
Set Variable
Use case
- Flags and state: A feature flag, an "is authenticated" state, or any other on/off switch you want to check and flip from the canvas.
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).