mouse-button

mouse-pressed?

mouse-x

mouse-y

pmouse-x

pmouse-y

mouse-button

Arguments
[]
Docstring
The value of the system variable mouseButton is either :left, :right,
or :center depending on which button is pressed. nil if no button pressed
Works only inside sketch functions?
Yes
Original Processing method
mouseButton

mouse-pressed?

Arguments
[]
Docstring
Variable storing if a mouse button is pressed. The value of the
system variable mousePressed is true if a mouse button is pressed
and false if a button is not pressed.
Works only inside sketch functions?
Yes
Original Processing method
mousePressed

mouse-x

Arguments
[]
Docstring
Current horizontal coordinate of the mouse.
Works only inside sketch functions?
Yes
Original Processing method
mouseX

mouse-y

Arguments
[]
Docstring
Current vertical coordinate of the mouse.
Works only inside sketch functions?
Yes
Original Processing method
mouseY

pmouse-x

Arguments
[]
Docstring
Horizontal coordinate of the mouse in the previous frame
Works only inside sketch functions?
Yes
Original Processing method
pmouseX

pmouse-y

Arguments
[]
Docstring
Vertical coordinate of the mouse in the previous frame
Works only inside sketch functions?
Yes
Original Processing method
pmouseY