# Inputs

The **Controller Inputs** condition checks if the user is using any input (button, trigger, stick,...) from controllers.

{% embed url="<https://youtu.be/QLhOJLJezeM?si=0iZyVgtRKhcUbi-y>" %}

The condition includes the following parameters:

* First choose the controller: `RIGHT` or `LEFT`
* Then choose the specific button (see figure below for details)
* Finally choose the state of the button you want to check: `TOUCHED`, `UNTOUCHED`, `PRESSED`, or `RELEASED`

**Minimum duration required:** check details [here](/adding-interactivity/interactions/conditions/duration-parameter.md).

<figure><img src="/files/IwgUoGJfrxaZfZj2YYBO" alt=""><figcaption></figcaption></figure>

Add as many inputs you want to check, and decide whether the condition needs for all of the inputs to be used (`Require All`) or not for the condition to be valid.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://unity.zoeimmersive.com/adding-interactivity/interactions/conditions/inputs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
