0

I know I can use e.clientX, but that gets the cursors position, which is the center of the cursor, not the hit position, which is usually at the tip of the pointer finger/edge.

cursor

1 - Hit/Click position
2 - Cursor position

Can anyone help me on this? I am not sure it is possible. I suppose I could just get the size of the cursor and subtract it, but you can set your cursor size, so that gets crossed out, unless I can get the size of the cursor too.

ArcadeSmasher
  • 145
  • 1
  • 10

0 Answers0