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

# Interaction Basics

Interaction through player input is controlled through an Input class.

Easy shortcuts can be set up through the **Input Manager**.

Open your Input Manager through the taskbar > Edit > Project Settings...

This will open a new window/tab. Select Input Manager and twirl down the Axes menu.

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MA5duCv6cqeGjrpgo8D%2F-MA5h8MXuO9HuD-AGjzH%2Fimage.png?alt=media\&token=77ee7d19-a3c6-4913-b835-4ab0e4243c1e)

Twirl down one of the Axes listed to reveal default controls:

![Default settings for the Horizontal axis (for Keyboard)](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MA5duCv6cqeGjrpgo8D%2F-MA5hPUBotE-D9D0-pWt%2Fimage.png?alt=media\&token=6277558a-6809-4160-9b89-b74d76b8ee30)

![Default settings for the Mouse X axis (for Mouse control)](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MA5m9TSKESC3nU9BX_l%2F-MA5o9a0cS45Q0O_uRgX%2Fimage.png?alt=media\&token=5d5fd3b7-ea84-4f6a-9364-b7f455bc545a)

![Default settings for the Jump button (for Keyboard)](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MA5m9TSKESC3nU9BX_l%2F-MA5nqhteBV5b9DE1t1x%2Fimage.png?alt=media\&token=88bc237b-e05e-430f-b26e-c95d8bab22ea)

This is where you can access the sensitivity for mouse, keyboard, and controller buttons as well as what buttons control the axis/button.

These can now be accessed through using Input.GetAxis() as a value that is positive or negative and Input.GetButton() as a bool value (true/false).

See the links below for coding specific scenarios:

{% content-ref url="/pages/-M8Xk1FFsfxM84qJypmM" %}
[Keyboard Controls](/unity-basics/interaction/keyboard-controls.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M8Xk4QVwwrDeMkb4lBE" %}
[Mouse Controls](/unity-basics/interaction/mouse-controls.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M8Xk7jnq89dnQ0CISGo" %}
[Broken mention](broken://pages/-M8Xk7jnq89dnQ0CISGo)
{% endcontent-ref %}

See more detail about user interaction in the [Unity documentation](https://docs.unity3d.com/Manual/Input.html).
