Faragiri
English

Choose a language 2

Learn After Effects Motion · The basics, Layers and keyframes, Masks and mattes and 3 more

The evaluation order and the nested composition are the two mechanisms behind most of it. Worked on a twelve second railway podcast opening.

6Branches
6Nodes below
3Depth

Recommended Before This

0 / 1

A 20 px blur on a layer scaled to half size arrives on screen as a 10 px blur. Effects are computed before transforms, on every layer, every time, and that one ordering fact explains most of what beginners describe as After Effects behaving strangely.

Milena is building a twelve second opening for a podcast about disused railways. A map that drifts, a train silhouette crossing it, a title, and a vignette over everything. Four elements, one composition, and the two mechanisms below are what decide whether it takes an afternoon or a fortnight.

The order inside a single layer

Every layer is evaluated in the same fixed order: masks first, then effects, then the transform, then the blending mode. Nothing about the interface says so, because the effects sit in one panel and the transform properties sit in another, and their vertical position on screen has nothing to do with the order they run in.

One layer, one frame

The order nothing in the interface tells you

The panels are stacked on screen in one order and evaluated in another, which is the source of most of the behaviour people call unpredictable.

  1. FirstMasksApplied in the layer's own space, before anything moves it
  2. SecondEffectsComputed at the layer's original size. A 20 px blur is 20 px here
  3. ThirdTransformScale, position, rotation. The blur is shrunk along with the picture
  4. LastBlending modeHow the finished layer meets whatever is underneath it

Adjustment layers and effects applied above a precomp sit outside this order entirely, which is the usual way of getting a blur that does not scale.

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

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

So Milena's train, drawn at full size, blurred by 20 px and then scaled to half, is blurred before it is shrunk, and the blur shrinks with it. If she wants a 20 px blur on the finished size, the number to type is 40. This is not a bug and there is no setting for it; it is the order, and knowing it turns an hour of nudging a slider into one piece of arithmetic.

The same order explains why a mask moves with a layer's transform but an effect applied inside the layer does not appear to. Masks run before everything, so they live in the layer's own space; the transform happens after, and carries the masked result with it.

Graduated square optical glass and smoked slate plates stacked bottom to top in raking studio light over dusty plum-violet linen.
Inside a single After Effects layer, render order runs strictly from masks to effects to transforms: swapping stack sequence changes the final image.

Compositions inside compositions

A precomp is a composition used as a layer inside another one, and the whole application is built around that. Milena's map is its own composition with six layers in it, and in the main comp it is a single layer she can move, blur and fade as one object. Without that, twelve seconds of this would be forty layers on one timeline and every change would touch all of them.

Twelve seconds, four elements

What is nested inside what

Read from the middle outwards. Every ring is a composition in its own right, with its own size and its own clock, and a change at the centre travels outward through all of them.

  1. The mapThe map compositionSix layers of its own, full frame size, its own duration
  2. 02Map and train togetherPrecomped so the vignette can treat them as one object
  3. 03The main compositionTitle, vignette, and the precomp above as a single layer
  4. 04The render queueWhere the whole thing becomes frames and stops being editable

Groups do not appear here because the application has none. Everything that looks like a group is a composition, which is why each ring can crop or flatten what sits inside.

A precomp is a comp, not a group, which is the sentence that saves the fortnight. It has its own frame size, its own duration and its own time. Make one from layers that extend past its edges and they are cropped; put a 3D layer inside one and it is flattened before it reaches the parent, unless the precomp layer is set to collapse transformations. Every one of those is a consequence of it being a comp, and none of them happens to a group in a drawing application.

The reading direction is inside out. What Milena sees in the main composition is the outermost layer of something with the map at its centre, and a change to the map's own composition propagates outward through everything wrapped around it.

The five things worth learning first

Composition, layer, keyframe, graph editor, precomp. That is the whole beginner's list, and a person who has those five can build the railway opening. Everything else in the application, and there is a great deal of it, is either a specialism or a shortcut for something these five already do slowly.

Before touching specialisms

The five concepts that build the whole opening

Everything else in the interface is a shortcut or a specialism; these five carry short composited shots without touching an editing timeline.

Short-shot compositing
  • CompositionCanvas, frame rate, and clock for one scene
  • LayerIndividual visual piece stacked in time
  • KeyframeMarks a value at a specific frame
  • Graph editorShapes speed and easing between keyframes
  • PrecompBundles layers into a nested comp, not a group
  • CompositionCanvas, frame rate, and clock for one scene
  • LayerIndividual visual piece stacked in time
  • KeyframeMarks a value at a specific frame
  • Graph editorShapes speed and easing between keyframes
  • PrecompBundles layers into a nested comp, not a group

Keep assembly work in an editor: twelve seconds belong here, while a ninety-minute podcast belongs elsewhere.

The application is also not an editor. Milena's twelve seconds are comfortable; the ninety minute podcast they open is not, and putting a long timeline into After Effects is the most reliable way to make a fast machine feel broken. The division is by length and by intent rather than by feature: things that are composited go here, things that are assembled go elsewhere.

Five precision anodized matte dark steel blocks lined evenly left to right across a cleaved dark slate plinth on timber.
Learning the five core transforms first, anchor point, position, scale, rotation, and opacity, solves most animation work before touching plugins.

What to use, in 2026

Multi-frame rendering is the change that matters most day to day. It renders several frames at once across the processor's cores, and it replaced rendering on one core while the other eleven idled, which is what the application did for its first twenty five years. It arrived in 2022 and it is included at no extra cost, and its practical effect is that a preview of the railway opening is now a wait rather than a break.

What changed by 2026

Multi-frame rendering against the free node path

After Effects gained full-core rendering in 2022, while Fusion inside DaVinci Resolve offers the same mental model at zero subscription cost.

After Effects (multi-frame)Included since 2022
Fusion in DaVinci ResolveFree alternative path
StructureLayer stack and nested compositionsNode graph with explicit data flow
Core modelEvaluation order, nesting, five conceptsSame evaluation logic, different vocabulary
Rendering speedRenders across processor cores at onceHardware-accelerated node evaluation
Switching costPaid subscriptionFree; muscle memory does not transfer, understanding does

Learn the evaluation order and nesting model once and you can move between layer and node tools without starting over.

Fusion, inside DaVinci Resolve, is the free path and it is a real one. What transfers between the two is everything on this page except the vocabulary: nodes instead of layers, but the same evaluation order, the same nesting, the same five concepts. It replaced needing a subscription before the first composite, and the honest cost is that a fortnight of familiarity does not carry across, only the understanding does.

Three parallel translucent motion film strips laid side by side across draped smoky plum-violet linen in soft studio sidelight.
Motion work in 2026 connects clean keyframe rigs and expressions in After Effects with fast GPU previews and crisp vector exports.

The mistake, on the vignette

Milena precomped the map and the train together so she could vignette them as one thing, and the train stopped moving. The precomp was made at the default duration, four seconds shorter than the main composition, and the train's last keyframes were outside it. Nothing reported an error; the layer simply held its final position. The stall in this application is that its failures are silent and structural rather than loud and technical, and the repair is almost always to look at what is nested inside what rather than at the property being animated.

Why the train stopped moving

Silent structural failure inside a precomp

Nothing throws an error dialog when a nested composition ends early; the parent simply freezes on the last available frame.

  • Train holds its final poseStops animating four seconds before the end
  • No warning or error messageInterface looks healthy at a glance
What appears in the main comp
  • Default precomp durationCreated shorter than the main composition
  • Keyframes left outside the clockTrain keyframes exist past the precomp out-point
  • Nested bounds beat property tweaksRepair lives in what wraps what, not on the layer

When a motion shot freezes silently, inspect the duration and nesting of every precomp before touching a single keyframe.

Compositions, layers and the interface is the five-item list at proper length, in the order somebody actually meets them. Animating a property, and the graph editor is where the curve between two keyframes stops being a default. Revealing part of a layer is the first step of the evaluation order, and Driving animation with code instead of keyframes is what replaces the hundred keyframes a drifting map would otherwise need.

Knowing the order does not make anything move well. What decides whether the train reads as a train is the rules that make movement read as real, and it is entirely independent of which application is open. The type on the railway opening is governed by reading rather than by motion, which is type, shapes and information in motion. And the same evaluation order, on a shot with something in it that was never filmed, is putting things in a shot that were not there.

Inside this, 6

Above this