Is there a way in JS to keep track of changing pageX and pageY while you move mouse and hold mouse button?
Original HTML DOM Event object has it's button property, but if I try to monitor it on mousemove, it always returns me zero (unlike ctrlKey, shiftKey etc., for which it will reflect change).
I tried jQuery Mousehold plugin, which waits for mousedown, sets interval, calls itself over and over and clears interval on mouseup or mouseout. It is good when you need to just catch mousehold, regardless of coordinates inside selector while button is held. But I need something to catch values during mousehold.