mousePressed
Description
The mousePressed function is called once after every time a mouse button is pressed. The mouseButton variable can be used to determine which button has been pressed.
Syntax
mousePressed()
The mousePressed function is called once after every time a mouse button is pressed. The mouseButton variable can be used to determine which button has been pressed.
mousePressed()