-api-id | -api-type |
---|---|
P:Windows.UI.Input.Spatial.SpatialInteractionSourceState.IsGrasped |
winrt property |
Gets whether an input device detects a grasp/grab action (how users take direct action on objects in order to manipulate them).
True, if the source detects a grasp/grab action. Otherwise, false.
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 |
Hands and motion controllers, Speech input, Instinctual interactions