MouseX ( )

Returns the x position of the mouse.

Example: