# Need help with mouse on/off

**URL:** https://forum.kirupa.com/t/need-help-with-mouse-on-off/295026
**Category:** Uncategorized
**Created:** [August 24, 2009, 2:08pm UTC](https://forum.kirupa.com/t/need-help-with-mouse-on-off/295026 "2009-08-24T14:08:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Vidar](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vidar](https://forum.kirupa.com/u/Vidar)
#### Post date: [August 24, 2009, 2:08pm UTC](https://forum.kirupa.com/t/need-help-with-mouse-on-off/295026/1 "2009-08-24T14:08:43Z")

</div>

[http://megaswf.com/view/094c59b706a3f889f0058d9727fd4378.html](http://megaswf.com/view/094c59b706a3f889f0058d9727fd4378.html)

when you have not clicked on all five dots, and you take the mouse of the stage, the interactive line should be deleted(graphics.clear(); ), and the little animation from the start should come back.

my idea is to have a counter that ++ every frame, but when the mouse is moving on the stage the counter is constantly sett to 0. when the counter is, for example, 50 the animation i visible.

do anyone have any methods that don’t give the 50(for example) frame wait?

and i would also like criticism and ideas on the rest.:hugegrin:

-Vidar

(i am sorry that English isn’t my strong suit)
