# Adding Inputs to UI

{% hint style="info" %}
Newly created inputs are not automatically added to the options settings, so you need to do a few extra steps to see the newly added inputs and be able to rebind them.
{% endhint %}

1. Open the **GAMEMANAGER** / **MAINMENU** prefab. Both prefabs can be found in the **UHFPS -> Content -> Resources -> Setup** folder.
2. Find the **Panel\_Controls** object in both **GAMEMANAGER** and **MAINMENU**.

<div><figure><img src="https://2665493337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh8bp6Jx5qkS4c0NEaWR1%2Fuploads%2FMc4MraT11Qi0em77vPHu%2Fcontrols_1.png?alt=media&#x26;token=e48e7acf-6dfc-4008-af41-b1e9062cb1c2" alt=""><figcaption></figcaption></figure> <figure><img src="https://2665493337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh8bp6Jx5qkS4c0NEaWR1%2Fuploads%2FRvTYTIBUTSLXW07mmKxN%2Fcontrols_2.png?alt=media&#x26;token=1e95dd1a-9811-404c-9ce1-b35a288bc3c0" alt=""><figcaption></figcaption></figure></div>

3. Under the Viewport -> Content inside **Panel\_Controls** you will notice many binding objects. Those represent the actual controls that are shown in the options.
4. To add a newly created control, simply duplicate the **Binding\_Forward** or another binding object.
5. Select the duplicated binding and in the **Input Options** component, assign the newly created input to the **Input Reference** field.

<figure><img src="https://2665493337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh8bp6Jx5qkS4c0NEaWR1%2Fuploads%2F4R0LyfRcRaWsTePPubIq%2Fcontrols_select.png?alt=media&#x26;token=2b6d18a3-4ae6-4640-8c91-aa2bb0d60ebb" alt=""><figcaption></figcaption></figure>

6. Finally, in the **GLoc Text** component, select **Gloc Key** that represents the localization key for the input binding.

<figure><img src="https://2665493337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh8bp6Jx5qkS4c0NEaWR1%2Fuploads%2FcLv3OydgyFXL9FKl38Yp%2Fcontrols_loc.png?alt=media&#x26;token=1f533afb-7e1d-4275-8441-8303d807410a" alt=""><figcaption></figcaption></figure>

{% content-ref url="../localization" %}
[localization](https://docs.twgamesdev.com/uhfps/guides/localization)
{% endcontent-ref %}

{% hint style="info" %}
To display a newly created input actions in both the Main Menu and Pause Menu, you must perform the same steps in the GAMEMANAGER and MAINMENU prefabs.
{% endhint %}
