Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Queries last mouse position.

Component Version macOS Windows Linux Server iOS SDK
EventMonitor 7.3 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "EventMonitor.LastMousePositionY"; PerWindow )   More


Parameter Description Example
PerWindow Pass 1 to get coordinates relative to the window at mouse position (Mac) or front window (Win).
Or pass 0 to get screen coordinates. (default)


Returns value or error.


Queries last mouse position.
Relative to top/left of main screen.

Please call EventMonitor.Install earlier in your scripts once on startup of solution.
See also RemoteControl.MouseY.

See also

Release notes

Blog Entries

This function is free to use.

Created 19th June 2017, last changed 5th June 2020

EventMonitor.LastMousePositionX - EventMonitor.SetCardWindow