Instance Property


The NSTrackingArea object for the event.


@property(readonly, strong) NSTrackingArea *trackingArea;


If accessed on an event that is not a mouse-tracking event (that is, an event of type NSMouseEntered, NSMouseExited, or NSCursorUpdate), this property raises an NSInternalInconsistencyException.

If no NSTrackingArea object is associated with the event because the event corresponds to a tracking rectangle installed with the NSView method addTrackingRect:owner:userData:assumeInside:, this method returns nil. Note that the trackingNumber property returns either an NSTrackingArea object or the NSTrackingRectTag constant depending on how the event was generated.

See Also

Getting Mouse-Tracking Event Information


The counter value of the latest mouse or tracking-rectangle event object; every system-generated mouse and tracking-rectangle event increments this counter.


The identifier of a mouse-tracking event.


The data associated with a mouse-tracking event.