# MX 2004 Questions: How do I track the mouse cursor?

**URL:** <https://forum.kirupa.com/t/mx-2004-questions-how-do-i-track-the-mouse-cursor/114781>\
**Category:** Uncategorized\
**Created:** [July 1, 2004, 6:09pm UTC](https://forum.kirupa.com/t/mx-2004-questions-how-do-i-track-the-mouse-cursor/114781 "2004-07-01T18:09:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![onebrightlight](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/onebrightlight/32/619_2.png) [@onebrightlight](https://forum.kirupa.com/u/onebrightlight)\
**Post date:** [July 1, 2004, 6:09pm UTC](https://forum.kirupa.com/t/mx-2004-questions-how-do-i-track-the-mouse-cursor/114781/1 "2004-07-01T18:09:30Z")

</div>

Hey all, first time posting on here, though I’ve read through the site quite a bit before.

Anyways, I’m working on a button navigation system that drops down to reveal sub menu buttons underneath, e.g. what you can see at [http://www.kurani.com](http://www.kurani.com). I’ve succesfully managed to get the window to drop down, but I can’t attach code to the original button, as it is now hidden.

What I was thinking of doing is setting an actionscript to the frame itself, stating “If the mouse cursor leaves the confines of coordinates x,y: 0,0 to 180,75 , advance to the next frame.”

If this isn’t making any sense, please let me know, and I’ll try to reword it as well as I can.

Thanks again!
