Node Features
All nodes in State Machine 2 share common features that help you organize and control your state machine logic.
Rename
Every node can be renamed for better clarity:
Double-click on the node's title
Type the new name
Press Enter to confirm

Enable Auto-Rename in settings to automatically name nodes based on their trigger, first action, or condition.
Lock
Locked nodes cannot be moved, preventing accidental repositioning:
Lock: Right-click the node → Lock
Unlock: Right-click the node → Unlock
A lock icon appears on locked nodes.
Disable
Disabled nodes are skipped during execution:
Disable: Right-click the node → Disable
Enable: Right-click the node → Enable
Disabled nodes appear grayed out in the graph.
When a node is disabled, its output transitions are also skipped. The state machine will not progress through disabled nodes.
Color Coding
Assign colors to nodes for visual organization:
Right-click on a node
Select Set Color
Choose from the color palette
This is useful for categorizing nodes by purpose (e.g., combat logic, UI, dialogue).
Expanded View
Nodes can show their content inline without opening the inspector:
Expand: Click the expand icon on the node, or right-click → Expand
Collapse: Click the collapse icon, or right-click → Collapse
When expanded, you can edit actions, conditions, and triggers directly in the graph.
Copy & Paste
Nodes can be copied between state machines:
Copy: Select nodes and press
Ctrl/Cmd + CPaste: Press
Ctrl/Cmd + Vin any state machine graph
You can copy nodes between different projects and even different Unity versions!
Duplicate
Quickly create a copy of selected nodes:
Select nodes
Press
Ctrl/Cmd + Dor right-click → Duplicate
The duplicates appear offset from the originals with all settings preserved.
Delete
Remove nodes from the graph:
Select nodes
Press
DeleteorBackspaceOr right-click → Delete
Deleting a node also removes all its connections. This action can be undone with Ctrl/Cmd + Z.
Network Settings
Each node can have individual networking configuration for multiplayer games:
Select a node
In the Inspector, expand Network Settings
Configure sync options
See Multiplayer for detailed networking documentation.
Context Menu Actions
Right-click on a node to access all available actions:
Rename
Change the node's display name
Duplicate
Create a copy of the node
Delete
Remove the node from the graph
Lock/Unlock
Toggle movement lock
Enable/Disable
Toggle node execution
Set Color
Assign a color to the node
Expand/Collapse
Toggle inline editing view
Group Selection
Create a group from selected nodes
Last updated