MousePress

Move the mouse to position the shape. Press the mouse button to invert the color.

Original Processing.org Example: MousePress