menu_bookDocumentation

ActionGraph: Visual Scripting with Nodes, Links, and Control Flow

calendar_today May 20, 2026 schedule ~1 min read person PatrickJr verified 50

ActionGraph is s&box's visual scripting language. Each node describes an action or expression, and links between nodes carry values or signals. No C# coding required.

Creating ActionGraphs

  • Use built-in Component actions (Actions Invoker component)
  • Use the Component Editor to create methods in a custom component
  • Add a Delegate-type property to a custom component in C#

Node Types

Root Node

Entry point of the graph. Has output signal and optional value sockets. Cannot be deleted. When the graph runs, a signal fires from here.

Expression Nodes (Green)

Perform calculations without changing state. No signal sockets — they evaluate when their outputs are used by other nodes.

Action Nodes (Blue)

Have white arrow-shaped signal sockets. Trigger things to happen when receiving a signal. Control flow nodes (If, While, For Each, For Range) have extra output signal sockets for branching and loops. Connect outputs to inputs. Signal links (white arrows) carry execution flow. Value links carry data. Cycles are not allowed — use control flow nodes for loops instead.

Constants

Set hard-coded input values directly in the Properties panel when a node is selected.

Variables can be used to clean up long-distance links and share state between nodes.

Was this helpful?