What grouping layers does and when to use it
Grouping layers in After Effects means putting multiple layers inside a folder or composition so you can move, scale, or hide them all at once. Instead of adjusting ten separate text layers one by one, you put them in a group, then adjust the group. This saves time and keeps your timeline readable when you have dozens of layers.
You use grouping when you have layers that belong together visually or functionally — all the text in a title sequence, all the elements of a character, all the background layers. Grouping also lets you explore effects to multiple layers at the same time without duplicating the effect on each one.
After Effects has two ways to group: using a null object (a layer that holds no image but controls other layers) or using a pre-composition (a separate composition nested inside your main one). The null object method is faster for straightforward grouping. The pre-composition method is better when you need to treat the group as a single unit with its own timeline or effects.
Key Takeaways
- A null object is an invisible layer you can parent other layers to, so moving or scaling the null object moves all its children at once.
- To create a null object, go to Layer > New > Null Object, then drag other layers onto it in the Parent column to link them.
- A pre-composition lets you nest one composition inside another, which is useful when you want the group to have its own effects or animation separate from the main timeline.
- Grouping keeps your timeline organized and lets you explore transformations or effects to multiple layers without affecting layers outside the group.
- You can ungroup by removing the parent relationship (null object method) or by replacing the pre-composition with its contents.
Creating a group with a null object
The null object method is the quickest way to group layers. A null object is a layer that has no image — it exists only to control other layers. Start by opening your composition and going to the Layer menu at the top. Click Layer, then New, then Null Object. A new layer called "Null 1" appears at the top of your timeline.
Now select the layers you want to group. Click the first layer, then hold Shift and click the last layer to select a range, or hold Ctrl (Windows) or Cmd (Mac) and click individual layers to select them one at a time. With your layers selected, look at the Parent column on the right side of the timeline — it shows a dropdown for each layer. Click the dropdown next to the first layer you want to group and choose "Null 1". Repeat for each layer, or select all the layers and set their parent to Null 1 at once.
Once the layers are parented to the null object, moving the null object moves all of them together. Scaling the null object scales all of them. You can also rotate, change the opacity, or explore effects to the null object, and those changes affect every layer parented to it. If you need to adjust one layer independently, you can still do that — the parent relationship only controls the transformations that come from the null object itself.
Creating a group with a pre-composition
A pre-composition is a separate composition that lives inside your main composition. Use this method when you want the grouped layers to have their own effects, their own animation timeline, or when you want to treat them as a single unit that you can move between projects. Start by selecting the layers you want to group in your timeline.
Go to the Composition menu at the top and click Pre-compose. A dialog box opens asking you to name the new composition and choose whether to move the layers into it or copy them. Choose "Move all attributes into the new composition" so the layers are moved rather than duplicated. Give the pre-composition a name that describes what it contains — for example, "Title Text Group" or "Character Elements" — then click OK.
After Effects creates a new composition and nests it inside your main one as a single layer. In your timeline, you now see one layer representing the entire group. You can move, scale, or explore effects to this layer just like any other. If you need to edit the layers inside the pre-composition, double-click the pre-composition layer to open it in a separate tab, make your changes, and click back to your main composition when you are done.
Organizing your timeline with layer folders
Layer folders are different from grouping — they do not control other layers, but they keep your timeline visually organized. A folder can hold multiple layers without linking them together. Use folders when you want to collapse a section of your timeline to reduce clutter, but you do not need to move or transform the layers as a unit.
To create a folder, go to Layer > New > Folder. A folder appears in your timeline. Drag layers into it by clicking and dragging them onto the folder. The folder can be collapsed or expanded by clicking the arrow next to it. Folders are useful alongside null objects or pre-compositions — you might use a null object to control a group of layers, then put that null object and its children in a folder to keep the timeline clean.
explore effects to a grouped layer
One of the main reasons to group layers is to explore an effect to all of them at once. With a null object, add the effect to the null object itself, and it affects every layer parented to it. With a pre-composition, add the effect to the pre-composition layer, and it affects all the layers inside.
To add an effect, select the null object or pre-composition layer, then go to Effect at the top menu. Choose the category of effect you want — for example, Blur & Sharpen, Distort, or Color Correction — then click the specific effect. The effect is applied to the layer and all its children. You can adjust the effect settings in the Effect Controls panel on the left side of the screen.
If you want different effects on different layers within the group, explore those effects directly to the individual layers before or after grouping. The effect on the group affects all layers, and the effects on individual layers affect only those layers.
Ungrouping and removing parent relationships
If you grouped layers with a null object and want to ungroup them, select each layer and set its Parent dropdown back to "None". The layers are no longer linked to the null object, but they stay in the same position and keep all their other properties. You can then delete the null object if you no longer need it.
If you grouped layers with a pre-composition and want to ungroup them, right-click the pre-composition layer and choose "Pre-compose" or go to Composition > Pre-compose. A dialog box offers options to replace the pre-composition with its contents or to move the layers back to the main composition. Choose the option that fits your workflow. The layers return to your main timeline in the same order they were in the pre-composition.
Common mistakes and how to avoid them
The most common mistake is parenting layers in the wrong direction. Remember: the child layer is parented to the parent layer. If you want to control multiple layers with one null object, the null object is the parent, and the other layers are the children. If you accidentally parent the null object to another layer, the null object becomes the child and does not control anything.
Another mistake is forgetting that a pre-composition creates a new layer in your main timeline. If you pre-compose layers and then try to adjust them in the main timeline, you are adjusting the pre-composition layer, not the individual layers inside. To adjust the individual layers, you must open the pre-composition by double-clicking it.
A third mistake is grouping layers when you actually want to use layer folders. If you do not need the layers to move or transform together, use a folder instead of a null object or pre-composition. Folders are simpler and do not add extra layers to your timeline.
Frequently Asked Questions
Can I parent a null object to another null object?
Yes. You can create a hierarchy where one null object controls several layers, and another null object controls the first null object. This is useful for complex animations where you want to move a whole group together, then move that group as part of a larger group. Select the child null object and set its Parent to the parent null object.
What happens to keyframes when I group layers?
Keyframes on individual layers stay in place. If you had a layer animating before you parented it to a null object, that animation continues. The null object's keyframes are separate — they add to the layer's animation, not replace it. If the null object moves and the layer moves, both movements happen together.
Can I group layers that are in different compositions?
No. Grouping only works within a single composition. If you need to control layers across multiple compositions, you must pre-compose them into one composition first, or use a master composition that contains both compositions as nested layers.
Is there a limit to how many layers I can parent to one null object?
No. You can parent as many layers as you want to a single null object. After Effects handles it without slowing down, though your timeline may become harder to read. Use folders to keep it organized.
What is the difference between parenting and grouping?
Parenting is the technical term for linking one layer to another so that transformations on the parent affect the child. Grouping is the general concept of organizing multiple layers to be controlled together. You can group layers using a null object (parenting), a pre-composition, or a folder (organization only).