I am looking for a way to get the mouse position in JS with some amount of decimal precision. I am trying to make an SVG drawing app and I don't like how the paint brush snaps to the nearest pixel instead of being interpolated between two. It seems that clientX is always an integer, even when zoomed in when there should be more precision. How do I get a more precise mouse position in JS?