[Solved] What’s wrong with the addEventListeners
There is nothing messy with JavaScript, you just need a lot more practice… Few things on your code, as they point out in the comments you have a typo cleintY, also you have to substract the canvas.offset to get the correct position of the mouse. Those points should be an array that way you can … Read more