# Loop freezes the game

**URL:** <https://forum.kirupa.com/t/loop-freezes-the-game/244768>\
**Category:** Uncategorized\
**Created:** [November 21, 2007, 4:14pm UTC](https://forum.kirupa.com/t/loop-freezes-the-game/244768 "2007-11-21T16:14:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![npgames](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/npgames/32/2914_2.png) [@npgames](https://forum.kirupa.com/u/npgames)\
**Post date:** [November 21, 2007, 4:14pm UTC](https://forum.kirupa.com/t/loop-freezes-the-game/244768/1 "2007-11-21T16:14:47Z")

</div>

im trying to make a vision field that will stop you from seeing anything but what he sees in front of him, it works so far but when he rotates near 180 or -180 the game freezes, i have no idea what to do use the arrow keys to make him look right and left and when he looks to close to the left the screen freezes.
