Welcome to Computer Programming

 

Mouse Motion:

 

We just dealt with where the mouse clicked, now we want to track where it is.

There are some new methods that might be useful:

 

mouseMoved will be called each time the mouse makes a significantly large movement

mouseDragged will be called instead if the mouse button is pressed and the mouse makes a significantly large movement

 

For more on the difference between them, click here.