Back to Blog Index

A Guide to Precomposing in After Effects

Here's a quick guide to Precomposing in After Effects.

As we all know when working in After Effects our timeline panel can quickly become oversaturated with dozens if not hundreds layers. This can lead to a lot of confusion, which can be frustrating when you're trying to get job out to a client. Luckily for us there's a nifty feature called pre-composing that allows you to group and organize multiple layers in After Effects. With that in-mind let’s take a look at how to precompose in After Effects.

What is Precomposing?

Precomposing is the process of packaging a series of layers into a new composition in After Effects. In a way it's the same as grouping layers in Photoshop.

By grouping these layers together you can  add animation, effects, or masks that will then be applied to all of the layers within.

2 - Creative Cow Example.jpg
Standard Precomposition Courtesy of Creative Cow

What is Precomposing for?

Precomps are used mainly to help organize complex compositions. But let’s take a look at some of the specific reasons to use a precomp.

  • Precomps can organize your timeline by grouping certain layers together, freeing up room in the timeline and making it easier to navigate a complex composition.
  • You can build an animation in one composition and then add that composition to another. This is also known as nesting.
  • Precomposing allows artists to apply keyframes, effects, and other layer changes to a precomposition layer, and therefore affect all of the grouped layers within.
Standard Precomposition Courtesy of Creative Cow

How to Precompose

Here's how to Precompose in After Effects:

  1. Highlight the Layers You Want to Precompose.
  2. Navigate to Layer > Precompose.
  3. Name Your Precomp, Select Your Options, and Click 'OK'.

Tip: To access your original layers double-click the pre-comp.

Precompose via top menu Layer > Precompose

Now that you know the basic steps, let's get into a real-world case study of using precompose in After Effects

A PRECOMP CASE STUDY

Precomposing is actually a very simple process that can be used on complex and simple animations. Let’s use a simple text animation as an example. In the image below I have three text layers that I want to animate.

3 - Timeline Panel.jpg
1. Locate the layers you want to add an animation to.

To start things off I highlight my text layers and hit the “P” key on the keyboard to access the position transform option. I then apply a few keyframes that were staggered across the timeline, which created a subtle animation. Nothing fancy, just a simple animation where the text pops in from outside the composition frame.

2. Add animation keyframes to your layers.

This animation by itself is ok, but I want the pop ins to a be a little tighter and not appear directly from the edge of the frame.

I'm going to add a mask to the layers. However, since I’ve animated the position of the text, if I apply a mask then the mask position will be animated alongside the text...

This looks like a job for a pre-comp!

So I'll select all three layers then right-click and select “precompose. You can also hit Command+Shift+C. If you have more than one layer selected you will only be able to select the "Move all attributes" setting in the pre-comp window. This will move all of your animation keyframes and effects to the pre-composed composition.

3. Highlight the layers, right-click and select pre-compose.

With my layers now grouped into a new composition I’m going to select this precomposition layer and draw a large mask around where I want my text to appear. I’ll also make a quick adjustment to the feather that way it simulates a fade in.

4. Apply blanket effects, masks, or adjustments to the layers within the pre-comp.

By adding the mask above I've just added a little more to the animation to give it a nice smooth feel. Now, if you need to go back and adjust any of the text layers don’t worry you can still easily access those by double-clicking the precomposition layer in the timeline panel. Once you do this a new tab will open and you then have access to adjust the original text layers however you want.

5. Double-click the pre-comp to access the original layers.

After accessing my original layers by double-clicking the precomp I went back in and adjust the font style and size. Any changes I made were automatically seen in the precomp, so all I had to do from there was add to the render queue. Let's take a look at what our results look like.

The final results from our Case Study.

What's the Difference Between Precomposing and Nesting?

As you can see precomposing layers in After Effects is a pretty simple process. And it can definitely be used to great effect when working in complex compositions.

But remember that when working with these complex compositions you’ll find that it's usually beneficial to add an existing composition to another composition. This process is called nesting.

8 - Complex Composition.jpg
A more complex composition with nesting.

While precomposing is the process of placing a group of layers into a new composition, nesting is placing an existing composition into the timeline.

Now you have tools to conquer precomposing. You're going to use this technique all the time.

EXPLORE ALL COURSES

Dive into real-time 3D with our Unreal Engine beginner's course by Jonathan Winbush. Master importing assets, world-building, animation, and cinematic sequences to create stunning 3D renders in no time! Perfect for motion designers ready to level up.

Explore this Course

Unlock the secrets of character design in this dynamic course! Explore shape language, anatomy rules, and motifs to craft animation-ready characters. Gain drawing tips, hacks, and Procreate mastery (or any drawing app). Ideal for artists seeking to elevate their craft.

Explore this Course

Elevate your freelance motion design career with our guide to client success. Master a repeatable method for finding, contacting, and landing clients. Learn to identify prospects, nurture leads, and develop a thriving freelance philosophy amidst chaos.

Explore this Course

Rev up your editing skills with After Effects! Learn to use it for everyday needs and craft dynamic templates (Mogrts) for smarter teamwork. You'll master creating animated graphics, removing unwanted elements, tracking graphics, and making customizable templates.

Explore this Course

Stand out with Demo Reel Dash! Learn to spotlight your best work and market your unique brand of magic. By the end, you'll have a brand new demo reel and a custom campaign to showcase yourself to an audience aligned with your career goals.

Explore this Course

Illuminate your 3D skills with Lights, Camera, Render! Dive deep into advanced Cinema 4D techniques with David Ariew. Master core cinematography skills, gain valuable assets, and learn tools and best practices to create stunning work that wows clients.

Explore this Course

Master After Effects at your own pace with Jake Bartlett's beginner course. Perfect for video editors, you'll learn to create stylish animated graphics, remove unwanted elements, and track graphics into shots. By the end, you'll be equipped for everyday AE needs and more.

Explore this Course

Revolutionize your Premiere workflow with customizable AE templates! Master creating dynamic Motion Graphics Templates (Mogrts) in After Effects to speed up your team's work. By the end, you'll craft easily-customizable templates for seamless use in Premiere Pro.

Explore this Course
Your download is in your inbox!!!
Check your email (spam, too) for the download link!
Please check the spam folder if you don't see the message within a minute or two. Google likes to hide your downloads, sometimes.
Oops! Something went wrong while submitting the form.

Not sure where to start?

If you’re a beginner, here are some great courses to help you get started:

After Effects Kickstart

Dive into the fundamentals of motion design with our most popular (and recently updated) After Effects course.

LEARN MORE

Photoshop + Illustrator Unleashed

Master the basics of Photoshop and Illustrator and gain invaluable insights in this introductory level course.

LEARN MORE

Design Kickstart

An introduction to the design principles behind all great work.

LEARN MORE

More Advanced?

If you’re a more advanced student looking to up your game, here are some great options:

Animation Bootcamp

Learn the art and principles of creating beautiful movements in Adobe After Effects.

LEARN MORE

Design Bootcamp

Learn to design for motion in this intermediate-level, project-based course.

LEARN MORE

Cinema 4D Basecamp

Learn Cinema 4D from the ground up in this exciting introductory C4D course.

LEARN MORE

Now is the time to learn the skills you need to advance in your motion design career: