mousePressed() Code inside this block is run one time when a mouse button is pressed
mouseReleased() Code inside this block is run one time when a mouse button is released
mouseMoved() Code inside this block is run one time when the mouse is moved
mouseDragged() Code inside this block is run one time when the mouse is moved
while a mouse button is pressed