# Temporary Disable Button

**URL:** <https://forum.kirupa.com/t/temporary-disable-button/258881>\
**Category:** flash\
**Created:** [April 29, 2008, 7:13am UTC](https://forum.kirupa.com/t/temporary-disable-button/258881 "2008-04-29T07:13:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwjam11](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@cwjam11](https://forum.kirupa.com/u/cwjam11)\
**Post date:** [April 29, 2008, 7:13am UTC](https://forum.kirupa.com/t/temporary-disable-button/258881/1 "2008-04-29T07:13:36Z")

</div>

Does anyone know how to temporarily disable a button? So like onRelease, it plays animation, and the button is disabled for maybe 20 seconds and after 20 seconds, the button is functional again. Thanks!
