@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / XrGrabGesture
Type Alias: XrGrabGesture ​
ts
type XrGrabGesture = "any" | "pinch" | "full";Defined in: components/XRInteractable.ts:29
Which gesture grabs the object.
pinch maps to the primary action (trigger / finger pinch), full to the grip squeeze (whole-hand close). Distinguishing them lets a scene mix precise pickups with firm grabs — a chess piece versus a suitcase handle.

