> For the complete documentation index, see [llms.txt](https://docs.overthereality.ai/over-sdk-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overthereality.ai/over-sdk-manual/over-visual-scripting-legacy/nodes/flow/other-events/touch.md).

# Touch

### Description

This collection of [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md)s represents all the nodes that interact with common interactions in Mobile devices, such as finger pressing.&#x20;

#### Touch Node

The main element of this system consists of a Touch Node, responsible to fire its execution on detecting a specific Touch event.

Each Touch Node must refer to a specific `Target` GameObject, accordingly equipped with a Unity [Collider](https://docs.unity3d.com/ScriptReference/Collider.html) Component. Once a touch is detected and the Target is hit by the touch, the following nodes will be executed.

A `Touch Mode` parameter can be selected in order to further customize the execution of the node, specifically:

<table><thead><tr><th width="204">Name</th><th>Description</th></tr></thead><tbody><tr><td>Click</td><td>Sets the node to be executed when a click is detected.</td></tr><tr><td>Press</td><td>Sets the node to be executed when a finger press is detected.</td></tr><tr><td>Long Press</td><td>Sets the node to be executed when a finger pressing for more than 0.5s is detected.</td></tr></tbody></table>

The Node also exposes some parameters:

<table><thead><tr><th width="205.7659040188865">Name</th><th width="194.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Other</td><td><a href="https://docs.unity3d.com/ScriptReference/Collider.html">Collider</a></td><td>A reference of the input Unity Collider Component of the object touched</td></tr></tbody></table>

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

#### OverTouchListener

In order for the Node system to communicate to the Unity Runtime environment, a OverTouchListener component must be associated to the Target GameObject.&#x20;

Its main function is to provide a bridge between the node system and the UnityEngine event system, which handles touch events in automatic.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.overthereality.ai/over-sdk-manual/over-visual-scripting-legacy/nodes/flow/other-events/touch.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
