# Need help with a simple button problem

**URL:** <https://forum.kirupa.com/t/need-help-with-a-simple-button-problem/15491>\
**Category:** flash\
**Created:** [March 14, 2003, 9:09pm UTC](https://forum.kirupa.com/t/need-help-with-a-simple-button-problem/15491 "2003-03-14T21:09:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![markP](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@markP](https://forum.kirupa.com/u/markP)\
**Post date:** [March 14, 2003, 9:09pm UTC](https://forum.kirupa.com/t/need-help-with-a-simple-button-problem/15491/1 "2003-03-14T21:09:12Z")

</div>

Is there a way to make a button inactive if it’s hidden behind an object? When I have some kind of image covering a button I can still click and activate it. How can I stop this from happening? Is there a way to do that while keeping it on the stage?

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 14, 2003, 9:17pm UTC](https://forum.kirupa.com/t/need-help-with-a-simple-button-problem/15491/2 "2003-03-14T21:17:44Z")

</div>

Hi Mark,  
the only way in Flash 5 is to set the button.\_visible = false, so what ever actions triggers your image onto the stage and over the button should also set the visiblity to false, the button will then be inactive

Hope that helps

SteveD
