Node Graph Basics

Learn how to navigate the node graph canvas, place nodes, and connect them to build logic flows.

Node Graph Basics

Canvas Navigation

ActionHow
PanMiddle-mouse drag, or Space + left-mouse drag
ZoomScroll wheel
Select nodeLeft-click
Select multipleDrag a selection rectangle, or Shift+click
Move nodesClick and drag
Delete selectedDelete or Backspace
DuplicateCtrl+D
Frame all nodesF
Frame selectionShift+F

Node Anatomy

┌──────────────────────┐
│  ▶ On Click          │
│                      │
│              Object ○│
│               Event ○│
└──────────────────────┘
  • Title bar — node name and an optional category icon
  • Left ports — input ports (execution flow in, or data in)
  • Right ports — output ports (execution flow out, or data out)
  • ▶ symbol — indicates an execution port (flow control)
  • ○ symbol — indicates a data port

Port Types and Colors

ColorData type
WhiteExecution flow
BlueBoolean (true/false)
GreenNumber (integer or float)
YellowString (text)
PurpleObject reference
OrangeVector (2D or 3D)
RedColor
GrayAny (accepts any type)

Connecting Nodes

  1. Click and hold on an output port (right side of a node)
  2. Drag the wire to an input port (left side of another node)
  3. Release — the connection is made if the port types are compatible

To disconnect a wire, click it and press Delete, or drag the connection off its port.

Type coercion

ShapeBox automatically converts between compatible types:

  • Number → String (displays the number as text)
  • Boolean → Number (true = 1, false = 0)
  • Color → String (returns hex code)

Node Categories

Right-click the canvas to open the node browser:

CategoryContents
EventsScene ready, click, hover, timer, collision, keyboard, custom events
ObjectsGet object, set property, show/hide, enable/disable
MathAdd, subtract, multiply, modulo, clamp, lerp, random
LogicIf/else, switch, compare, and/or/not, delay
AnimationPlay clip, stop, set time, blend, events
VariablesGet/set local variable, global variable, object variable
UIShow dialog, notification, tooltip, progress bar
NetworkFetch URL, WebSocket send/receive, scene state sync
PhysicsApply force, raycast, get velocity
DeviceIs mobile, is VR, is AR, get input
AudioPlay sound, stop, set volume
TimeGet elapsed time, set timer, clear timer
ConversionType converters, formatters

Variables

Variables store values between node executions. Three scopes:

ScopeAccessLifetime
LocalThis script graph onlyDuration of one execution
ObjectAny script on the same objectWhile the scene is running
GlobalAny script in the sceneWhile the scene is running

Create variables in the Variables panel on the left side of the graph editor, then drag them into the graph as Get or Set nodes.

Comments and Groups

  • Comment node — right-click → Add Comment — adds a text label to the canvas
  • Group — select multiple nodes → right-click → Group — creates a collapsible container to organize complex graphs

Reroute Points

Right-click on any wire and choose Add reroute to insert a movable waypoint, which helps keep your graph readable when wires cross long distances.