# Mouse x and y coordinates

**URL:** <https://forum.kirupa.com/t/mouse-x-and-y-coordinates/225121>\
**Category:** flash\
**Created:** [May 8, 2007, 11:49pm UTC](https://forum.kirupa.com/t/mouse-x-and-y-coordinates/225121 "2007-05-08T23:49:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flamingtoaster](https://avatars.discourse-cdn.com/v4/letter/f/c37758/32.png) [@Flamingtoaster](https://forum.kirupa.com/u/Flamingtoaster)\
**Post date:** [May 8, 2007, 11:49pm UTC](https://forum.kirupa.com/t/mouse-x-and-y-coordinates/225121/1 "2007-05-08T23:49:26Z")

</div>

I need to get the mouse x and y coords for a game I’m making. I know how to do it with fererence to another movie clip, button, textbox, … but not to the stage. Any thoughts would be appreciated. If all else fails, I will attach a movie clip at (0,0) and then get the x and y coords from there, but if there is a simpler way, I would like to do that. Thanks in advance for your ideas.
