Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / components / XrGrabHands

Type Alias: XrGrabHands ​

ts
type XrGrabHands = "single" | "handOff" | "two";

Defined in: components/XRInteractable.ts:62

How many hands may hold the object at once, and what a second grab does.

single is a plain pickup. handOff lets the other hand TAKE it — the everyday gesture of passing something between your hands. two keeps both hands on it, which is what enables aiming a two-handed weapon and pull-apart scaling.