# Invisible onRollOut

**URL:** <https://forum.kirupa.com/t/invisible-onrollout/165595>\
**Category:** Uncategorized\
**Created:** [October 12, 2005, 12:59pm UTC](https://forum.kirupa.com/t/invisible-onrollout/165595 "2005-10-12T12:59:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jerry](https://forum.kirupa.com/u/jerry)\
**Post date:** [October 12, 2005, 12:59pm UTC](https://forum.kirupa.com/t/invisible-onrollout/165595/1 "2005-10-12T12:59:14Z")

</div>

Hey there… 🙂

I’ve got a little controlpanel with 5 buttons inside - everything inside a movieclip.

I launch my controlpanel with: controlpanel.\_visible = true;

When the user presses one of the buttons inside the panel, an action is launched and the visibility is set to false again - but I would also like it to turn invisible if the user just rollOut of the panel instead.

How can this be done - I’ve been messing around with some hitTest, but no luck… ☹
