# How to enable - disable MC buttons?

**URL:** <https://forum.kirupa.com/t/how-to-enable-disable-mc-buttons/187578>\
**Category:** Uncategorized\
**Created:** [April 30, 2006, 5:49pm UTC](https://forum.kirupa.com/t/how-to-enable-disable-mc-buttons/187578 "2006-04-30T17:49:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![5TEF](https://avatars.discourse-cdn.com/v4/letter/5/85e7bf/32.png) [@5TEF](https://forum.kirupa.com/u/5TEF)\
**Post date:** [April 30, 2006, 5:49pm UTC](https://forum.kirupa.com/t/how-to-enable-disable-mc-buttons/187578/1 "2006-04-30T17:49:31Z")

</div>

hi,

i’ve got several buttons, which i must enable, and after an other “onPress” action on an other button, i must “re-enable” them…

for disable, it work…i use :

this.onPress = false;  
this.onRollOut = false;  
this.onRollOver = false;

but for enable :

this.onPress = true;  
this.onPress = enabled;

don’t work …why ?
