[ad_1]
How can an object interact with the mouse? This video looks at how you can implement basic mouse interaction (rollover, mousePressed) with your own code and HTML5 canvas.

Next video:

Support this channel on Patreon:
To buy Coding Train merchandise:
To Support the Processing Foundation:

Send me your questions and coding challenges!:

Contact:
Twitter:
The Coding Train website:

Links discussed in this video:
HTML playlist:

Source Code for the all Video Lessons:

p5.js:
Processing:

For an Intro to Programming using p5.js:
For Coding Challenges:

Help us caption & translate this video!