# Touch Gestures

The following Touch Gestures have been tested on Android and iOS devices.

1. The On Pinch Trigger allows for Inwards and Outward Pinch gesture and can be set to monitor the whole screen, or only the left half, the right half, or the middle half.

{% hint style="info" %}
The middle half is from 25% until 75% of the screen. This would be the most commonly used with dual touchsticks.
{% endhint %}

![](https://1680659799-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LauqCzuMnmk33t__Yp5%2F-MQlkzxfoxXal1l5Por4%2F-MQlmdNu5kZbZXyX2gy7%2FScreenshot%202021-01-11%20151222.png?alt=media\&token=2b141bc6-6410-4ef4-9ebc-a0d2ab641dc1)

A common use for a Pinch Gesture would be to Zoom in and Out a Camera. Check the Example 3 to see how this is achieved.

2\. The On Rotate Trigger allows for Left and Right Rotate with two fingers and can be set to monitor the whole screen, or only the left half, the right half, or the middle half.

![](https://1680659799-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LauqCzuMnmk33t__Yp5%2F-MQln3OuhK_J9mVx1IqL%2F-MQloyn8XPsbZs5nrdsD%2FScreenshot%202021-01-11%20152225.png?alt=media\&token=018e8f6e-cd73-40ab-8d96-1f9fe537eb16)

{% hint style="warning" %}
The tolerance for a two finger Rotate and two finger Pinch has been set in an attempt to avoid confusion but this still may occur. Some players may Pinch while attempting to Rotate and Rotate while attempting to Pinch.
{% endhint %}

3\. The On Swipe Trigger allows for swiping in one of 8 directions:

* Up
* Down
* Left
* Right
* Up Right
* Up Left
* Down Right
* Down Left

The Swipe can also be set to monitor the whole screen, or only the left half, the right half, or the middle half, as well as the Minimum Swipe Length and the Maximum Swipe Time. This is to avoid confusion with a Tap where the finger may move inadvertently.&#x20;

![](https://1680659799-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LauqCzuMnmk33t__Yp5%2F-MQln3OuhK_J9mVx1IqL%2F-MQlqhVmeLOixj3utWf9%2FScreenshot%202021-01-11%20153007.png?alt=media\&token=2722ccf5-5749-4c48-b481-d1c181b9e972)

4\. The On Tap Gesture can also be used to execute an Action or Condition.  This Trigger has 3 options:

* Short Tap - set from the slider (0.2 - 0.5) with a default of 0.3 seconds
* Long Tap - a tap that is longer than the short tap setting and less than 1 second
* Hold Tap - longer than 1 second.

![](https://1680659799-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LauqCzuMnmk33t__Yp5%2F-MQln3OuhK_J9mVx1IqL%2F-MQlsGLG_Qnf5NH7kct2%2FScreenshot%202021-01-11%20153649.png?alt=media\&token=3ea7101f-2856-4a92-aaa7-90a76beee2e0)

For more information on Touch Gestures and to see how they can be used or configured, view the [Example 3 - Gestures.](../examples/example-3-gestures)

&#x20;
