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

RemoteControl.MouseY

Queries current position of the mouse cursor on screen.

Component Version macOS Windows Linux Server iOS SDK
RemoteControl 2.8 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "RemoteControl.MouseY" )

Parameters

none

Result

Returns y coordinate.

Description

Queries current position of the mouse cursor on screen.
Result is in pixels on Windows and in points on macOS. See Screen.Scale to convert between pixels and points.

If you need to know which mouse button made the last click, please check EventMonitor.LastMouseClickButton function.

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 7th April 2022


RemoteControl.MouseX - RemoteControl.MoveMouse