Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.24 KB

spatialinteractionsourcestate_isselectpressed.md

File metadata and controls

29 lines (20 loc) · 1.24 KB
-api-id -api-type
P:Windows.UI.Input.Spatial.SpatialInteractionSourceState.IsSelectPressed
winrt property

Windows.UI.Input.Spatial.SpatialInteractionSourceState.IsSelectPressed

-description

Gets whether a hand or motion controller is experiencing a primary Select press.

-property-value

Whether the source is experiencing a Select press.

-remarks

Select represents the primary press for a spatial interaction source:

  • For hands, a Select press represents the user's index finger in the down position.
  • For motion controllers, a Select press represents the controller's index-finger trigger (or primary face button, if no trigger) being fully pressed.
  • For voice, a Select press represents the user saying the system keyword "Select".

Note that a voice "Select" causes an instant press and release, and so you cannot poll for a voice press using IsPressed, IsSelectPressed or SelectPressedValue. Instead, use a SpatialGestureRecognizer and handle the Tapped event, or handle the SourcePressed event.

-see-also

-examples