on mouse move number of pixels callback' code example Example: mousemove jquery $( "#target" ).mousemove(function( event ) { });