# Starting a flow

The node that initiates a flow will be tied to an event, such as a collision between two objects or the execution of a phase in the Unity script lifecycle. You can add these nodes from the Events section of the right-click menu.

{% hint style="info" %}
For more information about the lifecycle stages, refer to [*Order of execution for event functions*](https://docs.unity3d.com/Manual/ExecutionOrder.html) in the Unity documentation.
{% endhint %}

In the following image, an `Update` node has been added to start a flow. The `Update` node is activated in the update scripting phase. The `Exit` port of the Update node is connected to the `Enter` port of the `Translate` node. This will cause the translation to be activated and applied in the update scripting phase.

<figure><img src="https://2640392766-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yxYHsXtlAaoMUrDWhLm%2Fuploads%2Fgit-blob-4ad49156515f713db4e3c4e4588f67af7819fb63%2Fafx_with_flow.png?alt=media" alt=""><figcaption><p>Example AFX graph with a flow</p></figcaption></figure>
