> For the complete documentation index, see [llms.txt](https://docs.engagevr.io/developer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.engagevr.io/developer/afx/afx-graphs/flows/using-multiple-flows.md).

# Using multiple flows

You can create multiple flows within a single AFX graph, with each flow initiated by a different type of event. For example, if you wanted to calculate a translation vector when the graph first executes, and then apply it to an object each frame, you could use an arrangement similar to that shown in the following image.

<figure><img src="https://2640392766-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yxYHsXtlAaoMUrDWhLm%2Fuploads%2Fgit-blob-56cd7e226310e70c68f3d0d8679894b887fbf9af%2Fafx_multiple_flows.png?alt=media" alt=""><figcaption><p>Multiple flows in an AFX graph</p></figcaption></figure>

The `Translate` node is activated in each update phase of the scripting lifecycle. However, the `Set Vector 3` node will be activated once in the start phase of the scripting lifecycle.
