- 1

How to make a Button follow the mouse with JS?

How can a Button be made/placed to follow the cursor?

6th Feb 2021, 12:42 AM
Philipp
Philipp - avatar
1 Answer
+ 3
with css property position, and updating its position at regular (short) intervals with js.
6th Feb 2021, 12:43 AM
visph
visph - avatar