Problem with events touch | Sololearn: Learn to code for FREE!


Problem with events touch

Hi, I don t have the same result with events mouse and events touch (my var doesn’t take +50) Someone has a solution ?πŸ’‘ I don’t find ! πŸ˜” Thank you πŸ™

10/8/2019 10:44:14 AM


3 Answers

New Answer


Need to subtract the offsetLeft, offsetTop from clientX, clientY to align touch with the circle. And I think addRa may not be definedπŸ˜‰


ODLNT oh yes thank you ! 😊😊😊


lololearn your welcome. btw Outstanding code/job!πŸ‘