Scripting API
TouchGesturesModule
LongPressGesture

LongPressGesture

Exposes details of a detected long press gesture.
Ensure Long Press Gesture is enabled under the project's Touch Gestures capability.

Inherits From : Gesture

Example

Properties

PropertyDescription
location
(get) location: Vec2Signal
(set) (Not Available)


The screen space coordinates of the gesture's location, as a Vec2Signal.
Coordinates are always returned in screen space, even if an object was specified in the long press gesture method call, for example: TouchGestures.onLongPress(plane).

Methods

This module exposes no methods.