Detect mouse movement

Example

Move the mouse.
 

Code