-api-id | -api-type |
---|---|
P:Windows.UI.Input.Spatial.SpatialInteractionSourceState.IsSelectPressed |
winrt property |
Gets whether a hand or motion controller is experiencing a primary Select press.
Whether the source is experiencing a Select press.
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.