This function is used to set the distance within which you have to touch/click the screen again after a single tap in order to trigger a Double Tap Gesture. The distance is measured in inches and has a default value of 0.1.
gesture_double_tap_distance(distance);
Argument | Type | Description |
---|---|---|
distance | Real | The distance (in inches) to set for double tap gesture event detection. |
N/A
if (gesture_get_double_tap_distance() != 0.1)
{
gesture_get_double_tap_distance(0.1);
}
The above code checks to see if double tap distance for gestures is set to 0.1 inches and if it is not it sets it to that value.