Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / HandGestureName

Type Alias: HandGestureName ​

ts
type HandGestureName = 
  | "handFound"
  | "handLost"
  | "poseStart"
  | "poseEnd"
  | "pinchStart"
  | "pinchEnd"
  | "swipeLeft"
  | "swipeRight"
  | "swipeUp"
  | "swipeDown"
  | "wave";

Defined in: hands/tracker.ts:73

Hand gestures a script can hear.

NameWhen
handFound, handLostA hand comes into view, or leaves
poseStart, poseEndA hand takes a named pose, or leaves it. pose says which
pinchStart, pinchEndThumb and first finger touch, or part
swipeLeft, swipeRight, swipeUp, swipeDownA quick move across the picture
waveA hand going from side to side