# Onrollout of button, disable mouse click

**URL:** <https://forum.kirupa.com/t/onrollout-of-button-disable-mouse-click/168979>\
**Category:** flash\
**Created:** [November 11, 2005, 8:55pm UTC](https://forum.kirupa.com/t/onrollout-of-button-disable-mouse-click/168979 "2005-11-11T20:55:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![superprg](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@superprg](https://forum.kirupa.com/u/superprg)\
**Post date:** [November 11, 2005, 8:55pm UTC](https://forum.kirupa.com/t/onrollout-of-button-disable-mouse-click/168979/1 "2005-11-11T20:55:32Z")

</div>

I have a button  
on(rollOut)  
{  
trace(“You rollded out”);  
}  
There are many more buttons beside this button. What I want is the moment he rolls out of this button, mouse/cursor should be disabled(although visible) so that he is not able to do anything with other buttons.  
There are lots of buttons so I cant use btn.enabled=false  
Possible?  
Thanks
