How to Use Pre-Compositions in After Effects

Close-up of a video editing software interface showing color grading wheels for adjusting shadows, midtones, and highlights.

Last Updated on October 12, 2026 by Wiktor

A pre-composition is not simply a folder for layers. It creates a new composition and places that composition as a layer inside another one. This changes where effects, transforms, masks and timing can be evaluated—so the choice you make while pre-composing matters.

Build a lower-third you can reuse

Create a 1920 × 1080, 30 fps, 6-second composition called Main_1920. Add a shape-layer rectangle approximately 760 × 150 px, a text layer reading Morgan / Motion Designer, and a thin accent line. Arrange all three near the lower-left corner with enough room from the frame edge for safe viewing. Keep the background on a separate layer.

Select the rectangle, text, and accent line. Choose Layer > Pre-compose (Windows Ctrl+Shift+C, macOS Cmd+Shift+C) and name the result LowerThird_Content. Don’t include the main background, because it belongs to the parent composition.

Which pre-compose option should you choose?

The dialog can offer Move all attributes into the new composition and, when available, Leave all attributes in the current composition. Which options are enabled depends on what you selected.

  • Move all attributes: transfers the selected layer’s effects and animation into the precomp, preserving that work inside it. This is often appropriate when combining several related layers into a reusable unit.
  • Leave all attributes: keeps applicable effects and transforms on the resulting precomp layer rather than moving them inside. This is mainly relevant when pre-composing one layer and the option is available.

For our multi-layer lower-third, choose Move all attributes. Double-click LowerThird_Content in the Timeline to enter the nested composition. You should still see the individual title, rectangle, and accent layers.

After Effects pre-composition demonstration showing editable lower-third layers inside LowerThird_Content and Position and Opacity keyframes in the parent composition.

Animate the group without losing editability

  1. Return to Main_1920 using the composition breadcrumb or tab.
  2. Select the LowerThird_Content layer and press P. At 0:00, move it approximately 350 px left of its final position. At 0:15 frames (half a second at 30 fps), set its final Position.
  3. Select both Position keyframes and press F9. Refine the speed in Graph Editor so the unit enters quickly and settles cleanly.
  4. Press T, add Opacity 0% at the first frame and 100% by approximately frame 10.
  5. Open the precomp and replace the person’s name. Return to the parent composition: the outer animation stays intact.

This separation is the main advantage of nesting: text content lives inside, while the overall entrance is controlled outside. For richer typography within the precomp, follow the text animation guide.

Know what changes after nesting

Effects order: an effect applied to individual source layers is not always visually equivalent to an effect applied to the combined precomp. For example, blurring each layer before combining can produce different edges from blurring the flattened result.

Composition bounds: a precomp has its own width and height. Items outside those bounds can be clipped. Open Composition Settings for the nested composition when a line or shadow disappears unexpectedly.

Frame rate and duration: the nested composition retains its own timing; extending the parent layer cannot invent additional source frames. If the content stops or loops unexpectedly, inspect the nested composition’s duration and any time-remapping settings.

Collapse Transformations: the small sun/star switch can preserve vector detail and change the render order for nested layers. Try it only after comparing the result; 3D layers and effects may behave differently.

Practical exercise: inspect a real template

A useful production example is the Polish Grocery Store Animation project from OlafMotion, which uses editable product imagery, price text and reusable scene elements. In a duplicated project, find a product/price content comp and its corresponding instance in the master timeline. Change one price, return to the master, and identify which animation properties belong to the nested content versus the outer scene. Then duplicate a scene to build a second product version. Don’t assume all templates use identical composition names: inspect the provided folder structure first.

If you don’t have the project, reproduce the same exercise by duplicating LowerThird_Content and giving each copy different text.

Troubleshooting checklist

  • The element shifts after pre-composing: compare the precomp’s dimensions, anchor point, layer transforms and parenting.
  • A glow or shadow changes: decide whether the effect should run on an individual element inside or on the combined result outside.
  • Text is cut off: increase the nested composition’s bounds or move the text inward.
  • A 3D layer stops behaving as expected: review the 3D switches and Collapse Transformations across the parent/precomp boundary.
  • Edits unexpectedly affect several scenes: those scenes may reference the same source precomp. Duplicate the source composition in the Project panel when independent variants are needed.

How to decide whether to pre-compose

Pre-compose when you need a logical content unit, want one outer animation for multiple layers, or must control an effect’s position in the render pipeline. Leave layers in the main comp when nesting adds navigation without making editing safer or clearer. Clear naming is as valuable as the nesting itself; see how to organize an After Effects project.

5/5 – (2 votes)

One response to “How to Use Pre-Compositions in After Effects”

  1. […] You can group complex graphics, footage, and titles into their own compositions, then use them as layers in a larger design. This can make a project easier to adapt, as explained in this guide to using pre-compositions in After Effects. […]