Hi there!
I’ve read this post Touch coordinates? (touchmove)
but I still can’t figure out how to get the right coordinates for my element.
I need to build a drawing canvas in the mobile app and for this I need the touch event and the location of the (x,y) of the touch…
I’ve managed to get coordinates using the “touches” object in the event, however, I see there is an offset in the coordinates I get.
Actually, these are the coordinates of the screen and not relative to the target element…
Am I loosing something here ?
any help is much appreciated
thanks for the great tool!