# Tactile Control

A **Tactile Control** is a component that can be attached to any UI game object, providing an interactive on-screen control that allows users to interact through touch.

<div align="center"><figure><img src="https://348920791-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeQ7CIxHuad77enwt80mG%2Fuploads%2FAJqgDdLOHEblcje2nO3e%2F%7B836B1C13-ED55-40D2-B1AF-F362AD1D8215%7D%201.png?alt=media&#x26;token=58e4e758-6f26-4807-9568-2fa02b4ae177" alt="" width="563"><figcaption></figcaption></figure></div>

## General Settings

The **`Interactable`** determines whether the control can be interacted with. It will becomes non-interactable internally if the associated game object or component is disabled.

## Kernel Settings

The component is consists of two main systems which driven the component, organized into collapsible sections:&#x20;

### Touchable Area

The **`Touchable Area`** specifies the region of the screen where touch interactions are detected. Depending on the type, its shape can be defined as a box, circle, or other forms. Additionally, it manages finger-related information, such as tracking touch positions and interactions within the defined area.

{% content-ref url="touchable-area" %}
[touchable-area](https://niam.gitbook.io/documentation/game-creator-2/tactile/touchable-area)
{% endcontent-ref %}

### Control Type

The **`Control Type`** defines the specific function of the control, whether it’s for movement, camera, or actions. Each type comes with its own unique control behavior, enhancing the overall interaction.

{% content-ref url="control-type" %}
[control-type](https://niam.gitbook.io/documentation/game-creator-2/tactile/control-type)
{% endcontent-ref %}

{% hint style="info" %}
Clicking the **question mark icon** on the far right of each drawer opens a documentation dialog, offering detailed information about the selected type and its parameters.
{% endhint %}

## Unique Identifier

Located at the bottom part of the component, each Tactile Control must have a unique ID. This ID is essential for fast and efficient lookups, particularly in situations where a reference to the component is required before it exists in the scene.&#x20;

If there are duplicate IDs in the scene, an error message will appear above the ID field, showing the hierarchy path of the Tactile Controls that share the same ID. Take advantage of this information to resolve the duplication issue.

<figure><img src="https://348920791-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeQ7CIxHuad77enwt80mG%2Fuploads%2FKFuWVzZ0X0aDHltMF6d7%2F%7BA5F82A83-38A5-46CA-8CE1-F27F870F0C78%7D%201.png?alt=media&#x26;token=0f71ed4f-d57e-4faa-9df4-5fc0626a35a7" alt="" width="563"><figcaption></figcaption></figure>


---

# 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://niam.gitbook.io/documentation/game-creator-2/tactile/tactile-control.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.
