Variables, States & Frames

Store values, control active logic, and organize large graphs.

◷ 1 min read Phase 5 enhanced

Variables and globals

Use local variables for data tied to the selected node and globals for data shared across systems. Variable types include scalar and vector values; Vector2 and Vector3 are edited with separate axis fields.

States

States group logic so only the intended state runs. The Controller brick includes state selection and an All States option.

Frames

Frames visually organize groups of bricks. The current editor supports frame names, comments, colors, dimensions, navigation from the frame list, and deletion.

Organization tip Use frames for readability and states for runtime behavior. They solve different problems.