# Detecting mouse to stop timer

**URL:** <https://forum.kirupa.com/t/detecting-mouse-to-stop-timer/299984>\
**Category:** Uncategorized\
**Created:** [November 13, 2009, 6:26pm UTC](https://forum.kirupa.com/t/detecting-mouse-to-stop-timer/299984 "2009-11-13T18:26:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geestring](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@geestring](https://forum.kirupa.com/u/geestring)\
**Post date:** [November 13, 2009, 6:26pm UTC](https://forum.kirupa.com/t/detecting-mouse-to-stop-timer/299984/1 "2009-11-13T18:26:04Z")

</div>

I want to detect if the cursor is over a movieclip to stop the timer that i have?  
What’s the best way? MousEvent.ROLL\_OVER will force me to use another function, leaving me with no access to do myTimer.stop();
