# Hiding/showing menu based on mouse position

**URL:** <https://forum.kirupa.com/t/hiding-showing-menu-based-on-mouse-position/264865>\
**Category:** Uncategorized\
**Created:** [July 1, 2008, 1:25pm UTC](https://forum.kirupa.com/t/hiding-showing-menu-based-on-mouse-position/264865 "2008-07-01T13:25:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leukocyt](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@leukocyt](https://forum.kirupa.com/u/leukocyt)\
**Post date:** [July 1, 2008, 1:25pm UTC](https://forum.kirupa.com/t/hiding-showing-menu-based-on-mouse-position/264865/1 "2008-07-01T13:25:28Z")

</div>

Hello,

I’m making a movie player with a semi-transparent menu with the controls at the bottom. The menu hides afer a few seconds into the movie and I would like it to appear once the user moves the pouse in the"general vacinity" of it. I tried to do that using simple onRollOver/RollOut events, but if I do it that way the buttons on the menu stop responding.

Instead I would like the menu to appear based on mouse position on the stage. Or maybe there is a way to work around the issue with the buttons?

I would appreciate some help 🙂
