Answers.Body: <p>There are two types of interpolation for keyframes - temporal, and spatial. In plain English, temporal interpolation is how the speed of the motion is interpolated between keyframes - it's what you change when you <kbd>ctrl</kbd> or <kbd>⌘</kbd>-click a keyframe, and spatial interpolation is how the motion path is interpolated between keys. Your problem is that AE is applying the wrong spatial interpolation.</p>
  
  <p>Usually After Effects uses Bézier spatial interpolation between keyframes, meaning that they create smooth curves in space, which is usually what you want. However when you create a static pair of keyframes this causes problems - the layer overshoots the first keyframe and bounces back to the second.</p>
  
  <p>To eliminate the problem bring up the keyframe interpolation dialog. You can either right-click the keyframe or use the keyboard shortcut <kbd>alt</kbd><kbd>⌘</kbd><kbd>k</kbd> (mac) or <kbd>alt</kbd><kbd>ctrl</kbd><kbd>k</kbd> (pc). Set the spatial interpolation to linear. This has the unfortunate side effect that any bezier handles you may have carefully created on the keyframe disappear. To make only one side of the keyframe have a handle you can select the keyframe in the timeline window, then <kbd>alt</kbd>-click it in the composition window (the cursor should turn into the V shaped arrow). In more recent versions of AE this will give you a bezier handle on the incoming and outgoing curves, not on the curve between the two identical keyframes. But because they're on top of each other you need to select them individually in the timeline first.</p>
  
  <p>There's another way that I should mention, and this is by changing the temporal interpolation. If you right-click the first of the identical keyframes and choose <strong>toggle hold keyframe</strong> the motion will freeze until the next keyframe. If the keyframes weren't identical it would instantly jump to the second keyframe at that point.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-06T08:46:18.227Z
Answers.LastActivityDate: 2017-01-07T11:49:54.417Z
Answers.LastEditDate: 2017-01-07T11:49:54.417Z
Answers.UserDisplayName: stib
Answers.Body: <p>Change the spatial interpolation of keyframe-2 to either Linear or Hold.</p>
  
  <p>See <a href="https://helpx.adobe.com/after-effects/using/keyframe-interpolation.html" rel="nofollow noreferrer">https://helpx.adobe.com/after-effects/using/keyframe-interpolation.html</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-06T08:08:28.577Z
Answers.LastActivityDate: 2017-01-06T08:22:52.077Z
Answers.LastEditDate: 2017-01-06T08:22:52.077Z
Answers.UserDisplayName: Gyan
Body: <p><a href="https://i.sstatic.net/cthpC.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/cthpC.jpg" alt="enter image description here"></a></p>
  
  <p>I have a rectangle whose position at first keyframe-1 is (400,300) then at next keyframe-2 its (400,157) then i create another keyframe-3 with same position (400,157) after 1 sec and the final keyframe-4 at position (400,300) , the problem is position between keyframe-2 and keyframe-3 is changing despite being at same position, how can i solve that?</p>
  
Tags: <after-effects>
Title: Pausing two keyframes at same position then moving to next one? After Effects
UserDisplayName: prvnbist
ThreadText: # Pausing two keyframes at same position then moving to next one? After Effects
  
  (Asked by: username_0 on 2017-01-06)
  
  [![enter image description here](https://i.sstatic.net/cthpC.jpg)](https://i.sstatic.net/cthpC.jpg)
  
  I have a rectangle whose position at first keyframe-1 is (400,300) then at next keyframe-2 its (400,157) then i create another keyframe-3 with same position (400,157) after 1 sec and the final keyframe-4 at position (400,300) , the problem is position between keyframe-2 and keyframe-3 is changing despite being at same position, how can i solve that?
  
  **Tags:** after-effects
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-01-06. Score: 1
  
  There are two types of interpolation for keyframes - temporal, and spatial. In plain English, temporal interpolation is how the speed of the motion is interpolated between keyframes - it's what you change when you `ctrl` or `⌘`-click a keyframe, and spatial interpolation is how the motion path is interpolated between keys. Your problem is that AE is applying the wrong spatial interpolation.
  
  Usually After Effects uses Bézier spatial interpolation between keyframes, meaning that they create smooth curves in space, which is usually what you want. However when you create a static pair of keyframes this causes problems - the layer overshoots the first keyframe and bounces back to the second.
  
  To eliminate the problem bring up the keyframe interpolation dialog. You can either right-click the keyframe or use the keyboard shortcut `alt``⌘``k` (mac) or `alt``ctrl``k` (pc). Set the spatial interpolation to linear. This has the unfortunate side effect that any bezier handles you may have carefully created on the keyframe disappear. To make only one side of the keyframe have a handle you can select the keyframe in the timeline window, then `alt`-click it in the composition window (the cursor should turn into the V shaped arrow). In more recent versions of AE this will give you a bezier handle on the incoming and outgoing curves, not on the curve between the two identical keyframes. But because they're on top of each other you need to select them individually in the timeline first.
  
  There's another way that I should mention, and this is by changing the temporal interpolation. If you right-click the first of the identical keyframes and choose **toggle hold keyframe** the motion will freeze until the next keyframe. If the keyframes weren't identical it would instantly jump to the second keyframe at that point.
  
  
  ---
  
  ### Answer by username_2 on 2017-01-06. Score: 0
  
  Change the spatial interpolation of keyframe-2 to either Linear or Hold.
  
  See <https://helpx.adobe.com/after-effects/using/keyframe-interpolation.html>
  
  
  ---
  
  