# Mouse event for mouse stand on an object

**URL:** <https://forum.kirupa.com/t/mouse-event-for-mouse-stand-on-an-object/327403>\
**Category:** flash\
**Created:** [February 27, 2012, 12:15pm UTC](https://forum.kirupa.com/t/mouse-event-for-mouse-stand-on-an-object/327403 "2012-02-27T12:15:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GiGaGiG](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Post date:** [February 27, 2012, 12:15pm UTC](https://forum.kirupa.com/t/mouse-event-for-mouse-stand-on-an-object/327403/1 "2012-02-27T12:15:06Z")

</div>

Hi,  
I’d like to animate a button when I put the mouse over it. What’s the problem?  
I use mouse\_over or roll\_over events, ok.  
But what if I hide the button when I click it and then I show it again later without moving the mouse? The mouse stays over the button, but the button does not animate, as there is no out/over event: I have to move the mouse out and over again to see the animation.

How can I detect the mouse standing on a button without the out/over event?  
Thanks!
