Skip to content

Flow Nodes

Flow is the control-flow base category for execution-order nodes. Single-child result wrappers are documented separately under Decorator Nodes.

Available nodes

Condition

  • Branch between two nodes by a boolean condition.
  • Details

Decision

  • Run child nodes in order until one returns true.
  • Details

ForEach

  • Execute a node for each item in an enumerable collection.
  • Details

Loop

  • Repeat child branches using fixed count or condition-based loop types.
  • Details

Parallel

  • Run unique valid child branches concurrently and wait for all branches or the first completed branch.
  • Details

Pause

  • Pause tree execution at the current point.
  • Details

Probability

  • Select one child by weighted probability and execute it.
  • Details

PseudoProbability

  • Select a child by weighted probability with optional anti-repetition bias.
  • Details

Restart

  • Reload the currently running behaviour tree.
  • Details

Rollback

  • Roll back the active node stack to a referenced node.
  • Details

Sequence

  • Execute children in order and stop on the first failure.
  • Details

Aggregate

  • Execute every child in order and aggregate all results using AND or OR.
  • Details

Wait

  • Wait for configured time or frame count before continuing.
  • Details

Yield

  • Yield execution for one frame.
  • Details