# Pause when mouse moves out of the movie

**URL:** <https://forum.kirupa.com/t/pause-when-mouse-moves-out-of-the-movie/239591>\
**Category:** flash\
**Created:** [September 23, 2007, 11:12pm UTC](https://forum.kirupa.com/t/pause-when-mouse-moves-out-of-the-movie/239591 "2007-09-23T23:12:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BoJaN111](https://avatars.discourse-cdn.com/v4/letter/b/3bc359/32.png) [@BoJaN111](https://forum.kirupa.com/u/BoJaN111)\
**Post date:** [September 23, 2007, 11:12pm UTC](https://forum.kirupa.com/t/pause-when-mouse-moves-out-of-the-movie/239591/1 "2007-09-23T23:12:15Z")

</div>

Hey, I’m building a game and I want it to pause when the mouse moves out of the flash movie, i’ve seen other websites that do this and im not sure what the best way of doing it would be, I would like to do it outside of actionscript so I dont have to use IF statements to stop everything if the mouse isnt over the screen.
