# Detecting if mouse is outside frame

**URL:** <https://forum.kirupa.com/t/detecting-if-mouse-is-outside-frame/104012>\
**Category:** Uncategorized\
**Created:** [March 11, 2004, 3:47pm UTC](https://forum.kirupa.com/t/detecting-if-mouse-is-outside-frame/104012 "2004-03-11T15:47:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![straymuffin](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@straymuffin](https://forum.kirupa.com/u/straymuffin)\
**Post date:** [March 11, 2004, 3:47pm UTC](https://forum.kirupa.com/t/detecting-if-mouse-is-outside-frame/104012/1 "2004-03-11T15:47:07Z")

</div>

Is there anyway to detect if the mouse is outside the stage area?

I have been using the \_xmouse and \_ymouse coordinates to do this, but have noticed that if you move the mouse too fast it doesn’t detect that its moved outside the stage area.
