# GetTouch(int)

> Interface to Input.GetTouch. Can be overridden to provide custom input instead of using the Input class.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.3/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

> **Warning:**
>
> **Deprecated.** EventSystem no longer supports input override for legacy input. Install Input System package for full input binding functionality.

```csharp
public virtual Touch GetTouch(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Touch index to get

### Returns

| Type                                                          | Description    |
| ------------------------------------------------------------- | -------------- |
| [Touch](/engine/6000.3/script-reference/unityengine/touch.md) | Touch details. |
