mouseX
Input / MouseDescription
The system variable mouseX always contains the current horizontal position of the mouse.
Syntax
mouseX
Parameters
None
Returns
floatRelated
Under the Hood
From Processing.h:
float mouseX = 0, mouseY = 0, pmouseX = 0, pmouseY = 0;