Instance Property


The current location of the pointer reckoned in the window’s base coordinate system, regardless of the current event being handled or of any events pending.


@property(readonly) NSPoint mouseLocationOutsideOfEventStream;


For the same information in screen coordinates, use NSEvent's mouseLocation.

See Also

Handling Mouse Events


A Boolean value that indicates whether the window accepts mouse-moved events.


A Boolean value that indicates whether the window is transparent to mouse events.

+ windowNumberAtPoint:belowWindowWithWindowNumber:

Returns the number of the frontmost window that would be hit by a mouse-down at the specified screen location.

- trackEventsMatchingMask:timeout:mode:handler:

Tracks events that match the specified mask using the specified tracking handler until the tracking handler explicitly terminates tracking.