visuco
Challenge 7 of 16

Taking mouseX from the canvas width flips it, so the pointer goes right and the circle goes left — sweep your mouse across the live picture to feel it. The canvas is 400 across, so 400 - mouseX is as far from one edge as the pointer is.

Set that number.

Your code JavaScript

Set that number.

0 / 60 frames · 400×400
Target
Yours
Results
0%
Press Run to check your code
Penalties: none this run

Report this challenge