# Should I limit the amount of lines in an ENTER\_FRAME loop?

**URL:** <https://forum.kirupa.com/t/should-i-limit-the-amount-of-lines-in-an-enter-frame-loop/255188>\
**Category:** programming\
**Created:** [March 19, 2008, 9:21pm UTC](https://forum.kirupa.com/t/should-i-limit-the-amount-of-lines-in-an-enter-frame-loop/255188 "2008-03-19T21:21:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrRobot](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/drrobot/32/3907_2.png) [@DrRobot](https://forum.kirupa.com/u/DrRobot)\
**Post date:** [March 19, 2008, 9:21pm UTC](https://forum.kirupa.com/t/should-i-limit-the-amount-of-lines-in-an-enter-frame-loop/255188/1 "2008-03-19T21:21:22Z")

</div>

Well, i’m working on a game and i wasn’t sure how many lines i should have MAX in an ENTER\_FRAME loop?

most of it are empty lines and if statements, not really calculations or anything. alot of frame changing and collision checks.
