Mouse.x
Revision as of 15:37, 24 March 2020 by 71.226.33.30 (talk)
mouse.x
returns the current distance (in pixels) of the mouse cursor from the left edge of the screen.
See also: mouse.y; Screen coordinates
Example
print mouse.x
mouse.x
returns the current distance (in pixels) of the mouse cursor from the left edge of the screen.
See also: mouse.y; Screen coordinates
print mouse.x