function onMouseDown(evt)
{
    evt.preventDefault();
    
    mouseDown = true;
    pageX = evt.pageX;
}
/**
 * Event handler for the mouse down event. Tracks if a mouse button was pressed, and where on the page was it pressed.
 * @param {event} evt 
 */
Event handler for the mouse down event. Tracks if a mouse button was pressed, and where on the page was it pressed.
@param {event} evt
Event handler for the mouse down event . Tracks if a mouse button was pressed and where on the page was it pressed . @param { event } evt
function onMouseDown(evt)
{
    evt.preventDefault();
    mouseDown = true;
    pageX = evt.pageX;
}
function onMouseDown ( evt ) { evt . preventDefault ( ) ; mouseDown = true ; pageX = evt . pageX ; }
Event handler for the mouse down event.
Event handler for the mouse down event .