# Rotation Problems \> 0-180

**URL:** <https://forum.kirupa.com/t/rotation-problems-0-180/241972>\
**Category:** flash\
**Created:** [October 20, 2007, 4:39am UTC](https://forum.kirupa.com/t/rotation-problems-0-180/241972 "2007-10-20T04:39:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr\_b](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@mr\_b](https://forum.kirupa.com/u/mr_b)\
**Post date:** [October 20, 2007, 4:39am UTC](https://forum.kirupa.com/t/rotation-problems-0-180/241972/1 "2007-10-20T04:39:02Z")

</div>

I’m working on a pretty insane pin wheel type image display UI. Photos are loaded in from XML and as they load in I am placing them a fixed radius away from the center point within a clip. Mouse movement controls whether or not to rotate the container clockwise/counter clockwise. The issue is adding some constraints to that.

I’m trying to check for things like \_rotation \> 270 or \_rotation \< 180 etc.

Maybe I’m going about this wrong but I basically don’t understand how the \_rotation property works from 0-180 and then snapping to -180 to 0. Any insight is appreciated.
