Skip to content
Bit Quirky Round Trip
Visual Scripting

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or enter a complete API identifier.

Browse the reference instead

Esc closes · Tab reaches results · Enter opens the focused link

v0.89.0
Menu

Variables

Create GET and SET nodes from fields, properties, and locals in the Variables rail.

A variable row is both an inventory and a handle. Read it with GET, write it with SET, or drag it straight to the place where the value matters.

PlayerController has scene references, injected collaborators, local values, and state. Searching a general action menu for each one adds friction and makes it easy to pick a similarly named member from the wrong type.

Use the Variables section when the value already belongs to the active class or method. The rail lists class fields and local variables in context. Property rows respect whether a getter or setter exists. Instance members are unavailable from a static method because there is no instance to read or write.

The Variables section for PlayerController
Figure 1. The Variables rail keeps fields and local values next to the active method.
  1. Open PlayerController and choose a method. Expand the Variables section in the left rail. Fields sit under Variables and the method’s locals under Local Variables; each header’s + adds a new one.

  2. Right-click a readable row and choose Create Get Node. A compact GET pill appears on the active graph.

  3. Right-click a writable row and choose Create Set Node. The new card has exec pins because writing a value is a statement.

  4. Drag a variable row onto empty canvas. After the drag crosses its threshold and reaches the canvas, choose get or set with the variable’s name from the choice menu, for example get _direction. Read-only properties offer get only.

  5. Place a GET near the card that consumes it and connect its output to a compatible data input. Place a SET on the exec path and connect the value to write.

  6. Use Cmd/Ctrl+Z to undo the creation if you chose the wrong form. The variable row remains in the rail because it comes from the active class or method.

GET supplies an expression to another node. SET creates an assignment on the exec path. A property SET uses the property face only when the property is writable.

When it goes wrong

SymptomCheckFix
Create Set Node is disabled.Check whether the row is a read-only property, constant, or otherwise not writable.Create a GET, or choose a member whose source declaration permits assignment.
Dragging a field from a static method does nothing.Check whether the field is an instance member.Use a static member or work from an instance method with a valid receiver.
The dropped variable menu offers the wrong scope.Confirm the active method and class before starting the drag.Open the intended method, then drag from its refreshed Variables rail.
Full-size image