<p>I found the issue. The rotation was caused by an expression I used to loop the animation</p>

<pre><code>loopOut("cycle")
</code></pre>

CC BY-SA 3.0
2012-09-30T21:07:52.520Z
2012-09-30T21:07:52.520Z
Bernd Plontsch
<p>I have an issue with the <strong>Transform</strong> | <strong>Auto-orient</strong> option. I does work in general but at the very last keyframe the object's rotation changes apruptly.</p>

<p><img src="https://i.sstatic.net/0A25j.jpg" alt="Screenshot"></p>

<p>How can I avoid that? </p>

<p>I am using After Effects CS4.</p>

<after-effects>
Auto-Orient, Wrong Rotation on Last Keyframe in After Effects
Bernd Plontsch
# Auto-Orient, Wrong Rotation on Last Keyframe in After Effects

(Asked by: username_0 on 2012-09-21)

I have an issue with the **Transform** | **Auto-orient** option. I does work in general but at the very last keyframe the object's rotation changes apruptly.

![Screenshot](https://i.sstatic.net/0A25j.jpg)

How can I avoid that?

I am using After Effects CS4.

**Tags:** after-effects


---

## 1 answers

### Answer by username_0 on 2012-09-30. Score: 1 | Accepted answer

I found the issue. The rotation was caused by an expression I used to loop the animation
loopOut("cycle")


---

