# One more question, mouse coordinates

**URL:** <https://forum.kirupa.com/t/one-more-question-mouse-coordinates/91284>\
**Category:** Uncategorized\
**Created:** [October 1, 2003, 11:55am UTC](https://forum.kirupa.com/t/one-more-question-mouse-coordinates/91284 "2003-10-01T11:55:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tipsko](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Tipsko](https://forum.kirupa.com/u/Tipsko)\
**Post date:** [October 1, 2003, 11:55am UTC](https://forum.kirupa.com/t/one-more-question-mouse-coordinates/91284/1 "2003-10-01T11:55:03Z")

</div>

instead of using a rollOver button to close a menu, I would like to use something in actionscript like mousecoordinates. something like:

if(mouse\_x \> 200){  
gotoAndStop(1);  
}

This, ofcourse, doesn’t work. The whole idea above in simple words:

if you move the mouse to x:240 and y:490 gotoAndStop frame 1.

Thanks!  
Tipsko
