# Making a button dissapear

**URL:** <https://forum.kirupa.com/t/making-a-button-dissapear/240040>\
**Category:** Uncategorized\
**Created:** [September 28, 2007, 3:00pm UTC](https://forum.kirupa.com/t/making-a-button-dissapear/240040 "2007-09-28T15:00:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darkside7000](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@Darkside7000](https://forum.kirupa.com/u/Darkside7000)\
**Post date:** [September 28, 2007, 3:00pm UTC](https://forum.kirupa.com/t/making-a-button-dissapear/240040/1 "2007-09-28T15:00:04Z")

</div>

How can I make a button dissapear when I click it? I tried:

on (press) {  
score+=1;  
this.\_visible = false;  
this.enabled = false;  
}

but it just made everything on the stage dissapear.
