# 3D rotation problem

**URL:** <https://forum.kirupa.com/t/3d-rotation-problem/312125>\
**Category:** Uncategorized\
**Created:** [July 26, 2010, 12:22pm UTC](https://forum.kirupa.com/t/3d-rotation-problem/312125 "2010-07-26T12:22:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raheel1669](https://avatars.discourse-cdn.com/v4/letter/r/77aa72/32.png) [@raheel1669](https://forum.kirupa.com/u/raheel1669)\
**Post date:** [July 26, 2010, 12:22pm UTC](https://forum.kirupa.com/t/3d-rotation-problem/312125/1 "2010-07-26T12:22:40Z")

</div>

Hi, i ve a simple square, which i want to rotate along the y-axis through a complete 360 degrees. When i do the first 90, it changes the direction of rotation. Sometimes, tis happens during the last 90 ie going from 270 to 360 degree. How can i do it using motion tween. Thanx.

Attached is the fla.
