Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Edge HMI

GetCursorY

  • Last UpdatedOct 29, 2026
  • 1 minute read

Gets the Y-coordinate of the mouse cursor on the screen.

Function

Group

Execution

String Exp.

Windows

Windows Embedded

IoT View

Thin Clients

Mobile Access

GetCursorY

System Info

Synchronous

Yes

Supported

Supported

Not supported

Supported

Not supported

Syntax

GetCursorY ( )

This function takes no parameters.

Returned value

This function returns the Y-coordinate of the cursor on the screen, or -1 if an error occurs.

Examples

Tag Name

Expression

GetCursorY( ) // Returned value = 768

In This Topic