# AS3 - sleep function?

**URL:** https://forum.kirupa.com/t/as3-sleep-function/199088
**Category:** flash
**Created:** [August 30, 2006, 11:50pm UTC](https://forum.kirupa.com/t/as3-sleep-function/199088 "2006-08-30T23:50:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ignitrix](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ignitrix/32/2664_2.png) [@ignitrix](https://forum.kirupa.com/u/ignitrix)
#### Post date: [August 30, 2006, 11:50pm UTC](https://forum.kirupa.com/t/as3-sleep-function/199088/1 "2006-08-30T23:50:11Z")

</div>

Is there any sleep() type of function in AS3 (ie something that will temporarily halt code execution within a given function for a specified amount of time)? If not, is there any way to add such functionality to AS3 through a static class?
