> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/nodes/composite/sequencer.md).

# Sequencer

Node description and basic instructions

### Description

Nodes execute their children from left to right. They stop executing when one of their children fails. If a child fails, then the Sequence fails. If all the Sequence's children succeed, then the Sequence succeeds.

If at least one running child node returned the running, failure, aborted state, then it returns this value to the parent node, otherwise, if successful, it checks the running child node.

Starts the child node and if the value is success, it moves to the next one, otherwise it returns the value.

**To create it**, right-click in the editor and select <mark style="color:purple;">Create Node/Composites/Sequencer</mark>.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2F6WZowHWWAq7gIo5ECJN4%2FScreenshot%202023-05-29%20104345.png?alt=media&amp;token=ed48be6a-ac20-4abd-b7cd-9175344da7a2" alt=""><figcaption></figcaption></figure>
