# Follow the Mouse Cursor

**URL:** <https://forum.kirupa.com/t/follow-the-mouse-cursor/636212>\
**Category:** programming\
**Created:** [March 20, 2017, 2:52am UTC](https://forum.kirupa.com/t/follow-the-mouse-cursor/636212 "2017-03-20T02:52:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![anguyen](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@anguyen](https://forum.kirupa.com/u/anguyen)\
**Post date:** [April 4, 2017, 8:45am UTC](https://forum.kirupa.com/t/follow-the-mouse-cursor/636212/6 "2017-04-04T08:45:13Z")

</div>

[http://dpaste.com/3PZP0G2](http://dpaste.com/3PZP0G2) Here is the link to my code currently. So yeah I’m using canvas to get the element follow the mouse. Could you pls guide me how to get it by DOM APIs?

---

_[View the full topic](https://forum.kirupa.com/t/follow-the-mouse-cursor/636212)._
