# Is it better to combine all onEnterFrame events in one?

**URL:** <https://forum.kirupa.com/t/is-it-better-to-combine-all-onenterframe-events-in-one/317117>\
**Category:** Uncategorized\
**Created:** [December 10, 2010, 9:48pm UTC](https://forum.kirupa.com/t/is-it-better-to-combine-all-onenterframe-events-in-one/317117 "2010-12-10T21:48:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jac4b](https://avatars.discourse-cdn.com/v4/letter/j/8491ac/32.png) [@jac4b](https://forum.kirupa.com/u/jac4b)\
**Post date:** [December 10, 2010, 9:48pm UTC](https://forum.kirupa.com/t/is-it-better-to-combine-all-onenterframe-events-in-one/317117/1 "2010-12-10T21:48:13Z")

</div>

working on a game with many things i want to control with onEnterFrame, in terms of processing speed, it is better to write them all into a single function or can i split them all up?
