Adding objects to the canvas fom within the mousePressed() method

Hello,

Read these references:
https://processing.org/reference/draw_.html
https://processing.org/reference/setup_.html
https://processing.org/reference/mousePressed_.html
https://processing.org/reference/mousePressed.html

Tutorial:
https://processing.org/tutorials/interactivity/

:)

1 Like