SpatialInteractionSourceState.IsGrasped SpatialInteractionSourceState.IsGrasped SpatialInteractionSourceState.IsGrasped SpatialInteractionSourceState.IsGrasped SpatialInteractionSourceState.IsGrasped Property

Definition

Gets whether a motion controller is experiencing a grasp.

public : Platform::Boolean IsGrasped { get; }
bool IsGrasped();
public bool IsGrasped { get; }
Public ReadOnly Property IsGrasped As bool
var bool = spatialInteractionSourceState.isGrasped;

Property Value

bool bool bool

Whether the source is experiencing a grasp.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

For motion controllers, a grasp represents the user squeezing their fist tightly. This may be detected by grip buttons or a palm trigger.

For all other spatial interaction sources, IsGrasped will be false.