WindowMouseX()

Syntax

x = WindowMouseX()

Description

Returns the mouse position relative to the left of the current window. Values can be negatives if the pointer is outside the window.

Supported OS

Windows, AmigaOS, Linux

Window - Index