Back to Writing
NOTESunitybehavior-treeaigame-devdesign-patterns

Behavior Tree - Selector Node Explained

September 18, 2020Updated Feb 17, 2026

Simply put, this is the inverse concept of a Sequence.

Breakdown:

If the first child node returns success, the Selector immediately returns success and the remaining child nodes are not executed.

If the first node returns failure, the next child node is executed.

If that node returns true, the parent Selector node likewise returns success and the remaining child nodes are not executed.