# What is your favorite function / method / API?

**URL:** https://forum.kirupa.com/t/what-is-your-favorite-function-method-api/328284
**Category:** random
**Created:** [May 4, 2012, 6:29am UTC](https://forum.kirupa.com/t/what-is-your-favorite-function-method-api/328284 "2012-05-04T06:29:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)
#### Post date: [May 4, 2012, 6:29am UTC](https://forum.kirupa.com/t/what-is-your-favorite-function-method-api/328284/1 "2012-05-04T06:29:57Z")

</div>

If you had to pick just a single function / method / API from any language that is your favorite, what would it be?

Mine is an easy one - the **Event.ENTER\_FRAME** event. There are so many cool things one can do by listening to this event ranging from moving things around the screen to crunching numbers without freezing your app.

Cheers,  
Kirupa 🙂
