MouseX
Category: Input
Signature
MouseX()
Returns
Integer
Description
Returns the current mouse X position mapped into the virtual screen coordinate space.
The mouse position system functions account for the current virtual resolution, render scaling, and any letterbox or pillarbox offsets applied by Graphics.
Example
mx = MouseX()