Exquisite Corpse: Mouse Events

Download the files for this exercise: exquisite-corpse.zip

mousedown and mousemove

Use mousedown and mousemove events to change your graphics when you click on them.

Next, restructure the code to make it more scalable.

Related Content

The Make the Circle Clickable tutorial describes how we map the web page mouse coordinates to canvas mouse coordinates.