Gesture
Interface nodes
Drag
Detect a drag with location updates on a view. Downstream views will also respond to the gesture.
iOS · macOS · visionOSKey Press
Detect a key presses. To detect a key press the view needs to be in focus.
iOS · macOS · visionOSLong Press
Detect a long press on a view. Specify a minimum duration in seconds. Downstream views will also respond to the gesture.
iOS · macOS · visionOSMagnify
Detect a magnification with scale on a view. Downstream views will also respond to the gesture.
iOS · macOS · visionOSMulti Touch
Track simultaneous touches as a keyed list of local point locations, measured from the view’s top-left corner. Each touch keeps its integer index until release or cancellation removes it upstream.
iOS · macOSTap
Detect a tap / click with a location on a view. Downstream views will also respond to the gesture.
iOS · macOS · visionOS