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!๐Ÿ‘