This video introduces the built-in variables mouseX and mouseY which can be used to draw shapes at the mouse location.

Support this channel on Patreon:

Contact:

Send me your questions and coding challenges!:

Link to code on Github:

Processing:
Processing Foundation:
Learning Processing Book:

For More Processing Tutorials: