Reports the current mouse position in screen coordinates.
- macOS 10.0+
The current mouse location in screen coordinates.
This method is similar to the
mouse. It returns the location regardless of the current event or pending events. The difference between these methods is that
mouse returns a point in the receiving window’s coordinates, and
mouse returns the same information in screen coordinates.