# Input Manager

**Input Manager Prefab**

<figure><img src="https://1245590040-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdymOwfwFANDnergCsa0W%2Fuploads%2FvhlnWSnLOkDDyGTIfwAx%2FEkran%20g%C3%B6r%C3%BCnt%C3%BCs%C3%BC%202025-08-19%20154436.png?alt=media&#x26;token=f2c449cb-2cce-453f-bd9e-43daf35f90a4" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
Choose whether you want to use the New Input System or the Legacy (Old) Input System for your project.
{% endstep %}

{% step %}
Drag and drop the Main Camera into your scene hierarchy. This is necessary for enabling raycasting functionality.
{% endstep %}

{% step %}
To detect touch or mouse clicks on UI elements, drag and drop your Canvas (with a Graphic Raycaster component) into the designated field.
{% endstep %}

{% step %}
To use any of the joystick prefabs included in the tool, make sure to drag and drop your chosen joystick prefab into the corresponding field.
{% endstep %}

{% step %}
If your game uses mobile UI buttons, drag and drop the buttons you plan to use into the designated fields here.
{% endstep %}
{% endstepper %}
