SpherePointer.IsInteractionEnabled Property

Definition

Test if the pointer is within the grabbable radius of collider that's both on a grabbable layer mask, and has a NearInteractionGrabbable. Uses SphereCastRadius to determine if near an object. Note: if focus on pointer is locked, will always return true.

public:
 virtual property bool IsInteractionEnabled { bool get(); };
public override bool IsInteractionEnabled { get; }
member this.IsInteractionEnabled : bool
Public Overrides ReadOnly Property IsInteractionEnabled As Boolean

Property Value

True if the pointer is within the grabbable radius of collider that's both on a grabbable layer mask, and has a NearInteractionGrabbable.

Implements

Applies to