# Image following my cursor on hover

**URL:** <https://forum.readymag.com/t/image-following-my-cursor-on-hover/2616>\
**Category:** Custom code\
**Created:** [March 13, 2024, 11:56pm UTC](https://forum.readymag.com/t/image-following-my-cursor-on-hover/2616 "2024-03-13T23:56:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jey](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.readymag.com/jey/32/1758_2.png) [@Jey](https://forum.readymag.com/u/Jey)\
**Post date:** [March 13, 2024, 11:56pm UTC](https://forum.readymag.com/t/image-following-my-cursor-on-hover/2616/1 "2024-03-13T23:56:21Z")

</div>

Hello, I coded a script allowing you to have an image that follows the cursor on hover. And when I integrate the script on readymag I lose a lot of precision. How can I get my image to be on my cursor ? Here is my code and a picture of my problem. Thank you!

 ![Capture d’écran (4)](https://us1.discourse-cdn.com/flex015/uploads/readymag/original/2X/3/3f99e21e027d42c2a17fab9f04c28ac363bebfa3.jpeg)

 ![code, follow cursor](https://us1.discourse-cdn.com/flex015/uploads/readymag/original/2X/2/2f65dec6c0967f0d6b0597ad02c652a4ad0085f4.png)
