Mouse.x

From MiniScript Wiki
Jump to navigation Jump to search

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