CSC 4356/prog7/prog7.js
//Track recent location of movement of the mouse
Track recent location of movement of the mouse
Track recent location of movement of the mouse
function onmousedown(event){
    dragging = true;
    lastClientX = event.clientX;
    lastClientY = event.clientY;
}
function onmousedown ( event ) { dragging = true ; lastClientX = event . clientX ; lastClientY = event . clientY ; }
Track recent location of movement of the mouse
Track recent location of movement of the mouse