Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.72 KB

spatialinteractionsourcestate_isgrasped.md

File metadata and controls

38 lines (25 loc) · 1.72 KB
-api-id -api-type
P:Windows.UI.Input.Spatial.SpatialInteractionSourceState.IsGrasped
winrt property

Windows.UI.Input.Spatial.SpatialInteractionSourceState.IsGrasped

-description

Gets whether an input device detects a grasp/grab action (how users take direct action on objects in order to manipulate them).

-property-value

True, if the source detects a grasp/grab action. Otherwise, false.

-remarks

A SpatialInteractionSource represents one of three possible sources of input.

  • Hand - The user's hand, which supports different features based on the input device. This ranges from basic gestures on HoloLens to fully articulated hand tracking on HoloLens 2.
  • Controller - A motion controller, which supports input options such as select triggers, menu buttons, grasp buttons, palm triggers, touchpads, or thumbsticks.
  • Speech - System keywords such as "Select" (which represents a press and release gesture).
Source Support
Hololens hand gesture None
Articulated hand gestures Pinch or closed hand
Controller Grab button pressed or hand squeezed

-see-also

Hands and motion controllers, Speech input, Instinctual interactions

-examples