> For the complete documentation index, see [llms.txt](https://weendiegames.gitbook.io/form-behavior/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://weendiegames.gitbook.io/form-behavior/form-flow.md).

# Form Flow

## Form Behavior Flow Component

The Form Behavior Flow component controls the flow between all the UI inputs in scene. It is a singleton component so you can have only one per scene.&#x20;

You can add the component to any gameobject or use the prefab included.

![](https://119859951-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUZ5vi6N6eyRuj3QrZ3%2F-MUZAzVXRoz9ZK9hn6GN%2F-MUZHXivPXns1Y5y7136%2Fform_behavior_flow_inspector.png?alt=media\&token=c129226f-327c-440a-af4a-b36be54b54bd)

#### Dont Destroy On Load

Used to persist the gameobject between scenes change

#### Next Input Key

Assign the key you want to control the flow, default is **TAB**.

Use the **assigned key** to move forward in the flow and **Shift** + **assigned key** to move backwards

#### Skip Read Only

Used to skip read-only input fields

## Configuring The Unity Navigation Flow

If you want better control over how the flow will behave, you still need to configure the flow using explicit navigation settings in your element. For more information check the [Unity Documentation](https://docs.unity3d.com/Manual/script-SelectableNavigation.html).

{% hint style="info" %}
When using the "explicit navigation" you just have to set the "Select On Up" and "Select On Down"
{% endhint %}

![Notice the yellow arrows showing the flow between all form inputs](https://119859951-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUZ5vi6N6eyRuj3QrZ3%2F-MUZLSIDdWbQGdEFKHeu%2F-MUZM3IliTWzeTO1AfLh%2Fform_behavior_flow_example.png?alt=media\&token=394a620f-cbab-4169-a515-c0d23b9b222a)
