https://codepen.io/user_jacob/pen/oNxJxOx?editors=1010? Everything seems to be in correct syntax, though.
for some reason you are using – instead of - in var dx = mouse.x – arrow.x; var dy = mouse.y – arrow.y;
ThankS!! (The reason is because I copy-pasted it)
Обсуждают сегодня