Faragiri
English

Choose a language 2

Learn Layers and keyframes After Effects

Why a ball arcs when nobody asked it to, what each keyframe shape means, and the graph that actually describes motion. Worked on six departure icons in Aarhus.

6Sections
4Min read
4Depth

Recommended Before This

0 / 2

Every keyframe carries two interpolations and they are set separately: temporal, which is how the speed changes, and spatial, which is the shape of the path through the frame. A ball moving between three positions arrives with a curved path nobody asked for, because the spatial interpolation defaults to bezier and the path is being smoothed through the middle keyframe.

Jonas animates a set of six icons for a bus company's departure screens in Aarhus: each one slides in, settles, and holds while a time is read.

The three keyframe types, and what the shape means

A diamond is linear: the value moves at a constant rate into and out of that keyframe. A circle, or an hourglass on one side, is bezier: the speed is being shaped by handles. A square is a hold: the value stays exactly where it is until the next keyframe and then jumps, which is what a two frame flicker or a hard state change is made of.

Timeline shapes

The three keyframe shapes and what each one tells the property

The icon on the timeline shows how the value leaves and enters that instant before you open any curve panel.

  • Diamond (linear)Constant rate in and out
    • No acceleration or easing
    • Mechanical start and stop
    • Good for steady interface travel
  • Square (hold)Frozen until the next mark
    • Value stays fixed with zero travel
    • Jumps instantly at the next keyframe
    • Used for flickers and hard state cuts
Keyframe shapes
  • Circle or hourglass (bezier)Speed shaped by handles
    • Accelerates and decelerates smoothly
    • Hourglass shows ease on one side
    • Controlled in the speed graph

A timeline with mixed keyframe shapes explains at a glance why one icon behaves differently from the other five.

Live Web Audio Synth, 3-Band EQ & Compressor Lab

Synthesize live audio, sculpt 3-band EQ & compression, and watch the 60fps FFT spectrum.

Reading the shapes is faster than opening any panel, and a timeline of mixed shapes is usually the thing that explains why one icon behaves differently from the other five.

The two graphs are different questions

The value graph plots the property against time and it is the one that looks like what you drew. The speed graph plots how fast the property is changing, and it is the one that answers whether the motion looks right, because a human eye reads acceleration rather than position.

Graph editor views

The two graphs answer completely different questions

One plots the number itself over time, while the other plots how fast that number is changing.

  • Value graphPlots the property against time
    • Looks like the motion path you drew
    • Shows exact values at every frame
    • Hides a stop that ends above zero speed
  • Speed graphPlots rate of change over time
    • Matches what the human eye actually reads
    • Exposes sudden wall-like stops immediately
    • Should be the primary graph you shape

Two views of one property

Shape the speed graph and glance at the value graph: any speed curve ending above zero means the object was still moving when it stopped.

The practical rule is to shape the speed graph and glance at the value graph. A speed graph that ends above zero is an object that was still moving when it stopped, which is a wall rather than an ease, and it is invisible on the value graph.

Parenting, and the anchor point

Parenting a layer makes its transform relative to another layer's, so a set of six icons parented to one null can be moved, scaled and rotated as a group with three keyframes rather than eighteen. Nothing about the child's own animation is lost; it is being played inside a frame of reference that is itself moving.

Transform hierarchy

How parenting and the anchor point share one layer

Parenting moves the frame of reference around a group, while the anchor point sets where each layer pivots inside it.

  • Parent null layer
  • Child anchor point
  • Child animation
  • Parent null layerMoves, scales and rotates six icons together with three keyframes instead of eighteen
  • Child anchor pointMoved to the hinge or edge first, because shifting it after keyframes exist offsets the layer
  • Child animationKeeps every local keyframe intact while playing inside the parent's moving coordinate space

Set the anchor point before placing the first keyframe, then parent the finished set to a single null for group moves.

The anchor point is the other half and it is the property beginners never move. A layer rotates and scales around its anchor point, so an icon that swings from its top edge needs the anchor point at the top edge, and moving it after keyframes exist shifts the layer, which is why it is moved first.

Roving keyframes, for a move that must not stutter

A middle keyframe on a motion path forces the object to be at that point at that instant, which is usually not what was meant: the point was about where, and the timing was accidental. Making it rove in time lets the application space the middle keyframes evenly along the path, so a camera moving through five positions travels at a constant speed instead of speeding up and slowing between arbitrary marks.

Even motion paths

How roving keyframes remove middle-point stutters

A middle keyframe meant to steer a path should not dictate when the object arrives there.

Fixed middle marksObject speeds up and slows down to hit arbitrary timestamps
  1. 01Lock start and endOnly the entry and exit frames need fixed timing
  2. 02Set middle keys to roveUnpins the intermediate points from fixed frame numbers
  3. 03Space by path distanceThe application distributes timing evenly along the curve
Constant path speedTravel stays even across all five positions

Use roving keyframes whenever intermediate points define geometry rather than beats in time.

Two things worth using in 2026

Separate Dimensions splits position into independent X and Y properties, so a bounce can ease vertically while travelling horizontally at a constant rate. It replaced trying to shape one curve that is doing two jobs, which is the reason so many bounces look wrong, and it is free on the right click of the position property.

Workspace habits

Two settings worth switching on in 2026

Both options ship in the application and cost a single click, yet most timelines stay on the defaults.

2026 keyframe defaults

  1. YesSeparate Dimensions on PositionSplits X and Y so a bounce eases vertically while gliding steadily sidewaysYes
  2. YesSpeed graph as default editor viewJudges motion by acceleration instead of raw position curvesYes
  3. NoOne combined X/Y position curveForces one handle pair to do two conflicting jobsNo
  4. NoValue graph as sole referenceHides abrupt velocity drops at the end of a moveNo

Right-clicking Position to separate dimensions and switching the graph editor menu to Speed Graph changes daily animation work immediately.

The graph editor's speed graph, set as the default view rather than the value graph, is the smaller change and the one that alters how somebody works. It replaced judging motion from a shape that does not describe motion, and it costs one click in the graph editor's menu. Most people never open that menu and spend years reading the wrong graph.

The mistake, made on the third icon

Jonas moved the third icon through a middle position to avoid a departure time, setting three position keyframes. The icon arcs gently between them, because spatial interpolation smooths the path, and it also slows in the middle because the middle keyframe is a fixed instant. Two faults, one keyframe, and both invisible in a still. The repair is two right clicks: linear spatial interpolation on the middle keyframe, and rove in time. The icon then goes exactly where it was told at an even speed, which is what was meant by three positions in the first place.

One icon, three positions

The four things three position keyframes can produce

The axes are the two interpolations, set separately on the same keyframe. Only one of these four cells is what anybody means by moving an icon through a point.

spatial linearspatial bezier

temporal linear

Straight path, constant speedWhat three positions usually meant, and the default of neither axis
  • Goes exactly where it was told
  • No slow down in the middle
  • Reads as mechanical, which is right for an interface
Curved path, constant speedThe default. An arc nobody asked for
  • The path is smoothed through the middle keyframe
  • Invisible in a still and obvious in playback
  • One right click to fix

temporal bezier

Straight path, easedRight for a single move between two rests
  • Speed shaped by handles
  • Still slows at any middle keyframe unless it roves
  • Judge it on the speed graph, not the value graph
Curved path, easedRight for a thrown object and wrong for an icon
  • Both defaults left alone
  • An arc with a hesitation in the middle of it
  • The commonest first result in this application

Neither axis is a quality setting and the bottom right cell is the application's default on both. Most of what looks wrong in a first week of animation is one of these four cells being chosen by nobody.

The order in which effects, masks and transforms are applied to whatever this layer is doing is the standard tool for motion and compositing, and the settings the composition was created with are compositions, layers and the interface. Which curves to shape and what the standard ones are is nothing in the world starts at full speed. And a property driven by a line of code instead of by keyframes is driving animation with code instead of keyframes.

Alongside this

Above this