Contents

isEnteringProximity

A Boolean value that indicates whether a pointing device is entering or leaving the proximity of its tablet.

Declaration

var isEnteringProximity: Bool { get }

Discussion

This property is set to true when the pointing device enters the proximity of its tablet and false when it leaves.

This method is valid only for mouse events with subtype NSTabletProximityEventSubtype and for NSTabletProximity events; otherwise it is set to false.

See Also

Getting tablet proximity information