Discussions » Creation Requests
How to follow your mouse cursor?
The full code is:
<!DOCTYPE html>
Follow Mouse!
<style>
body {
min-width: 100%;
min-height: 100%;
}
#moveItem {
width: 75px;
height: 75px;
background-color: #FF3333;
position: absolute;
border-radius: 50%;
}
</style>
How to follow your mouse cursor?
Hello, could somebody show me how to make a simple script that something will follow a mouse cursor.. For example a text/black box/picture/anything will just follow/stick to your mouse cursor using tampermonkey/greasemonkey scripting..