Composites
Choose a Composite
Composites are parent tasks that decide which child runs next. A Sequence works like "and": every child must succeed. A Selector works like "or": it tries alternatives until one succeeds. Parallel, priority, random, and utility variants provide other traversal strategies.
Connect children from left to right in the order the Composite should consider them. A Composite remains Running until its completion rule is met. A parallel rule can finish while other children are still running; for example, Parallel Selector stops the remaining children when one succeeds.
Composites always have their own node. Use the pages below to compare each traversal rule, then see Common Behaviors for complete trees that combine them.