How to Group Layers in After Effects
StyleFrame Team7 min read
After Effects has no dedicated "Group" command for layers, so you group them with one of four methods: pre-compose them (Ctrl/Cmd+Shift+C), parent them to a null object, color-label them and use Select Label Group, or hide them with the Shy switch. Pre-composing is the closest equivalent to a true group because it nests the layers in a single composition layer. The other three keep everything in one timeline. The right choice depends on whether you need to animate the layers together, simply find them faster, or both.
Why After Effects Doesn't Have a Real Group Command
In After Effects, the timeline is a flat stack, and structure comes from other mechanisms: nested comps, parent-child relationships, labels, and shape-layer groups. Once you accept that, the question isn't "where is the group button?" but "what do I need this group to do?"
Ask yourself three things:
- Do I need to transform, time-remap, or apply an effect to the whole set as one unit? Pre-compose or parent.
- Do I only need to select, move, or hide the layers together? Use labels or Shy.
- Do I need the layers to stay visible and editable beside the rest of the scene? Avoid pre-composing; use parenting or labels.
Method 1: Pre-Compose Layers
Pre-composing nests your selected layers into a new composition, which then appears as one layer in the original timeline. It's the most literal answer to "group layers."
- Select the layers. Click the first, then Shift-click the last for a continuous range, or Ctrl/Cmd-click to pick individual layers.
- Choose Layer > Pre-compose, or press Ctrl/Cmd+Shift+C.
- Name the comp something descriptive, such as
UI_Buttons_Anim. - Choose Move all attributes into the new composition so keyframes, masks, and effects travel with the layers.
- Click OK.
The result is a single composition layer. Scale, rotate, fade, or apply an effect to it, and every layer inside is affected together. Double-click it to open the nested comp and edit the contents.
Pre-Compose Tradeoffs
Pre-comps are powerful, but they have costs:
- Lost context. Once layers sit in a nested comp, you can't see them beside the rest of the main timeline, which makes timing against other elements harder.
- No native un-pre-compose. You can cut and paste layers back to the parent comp, but expressions, keyframes, and cross-layer references may need cleanup.
- Navigation overhead. Deeply nested comps turn into a maze, especially in a project that several artists touch.
- Rendering and sizing behavior. Nested comps take on their own frame size and settings, and effects that depend on layer bounds can behave differently inside them.
Pre-compose when the elements are self-contained, reused across scenes, or need an effect applied to their combined result. If the layers still need to interact with the main scene, try something lighter.
Method 2: Parent Layers to a Null Object
Parenting groups layers by motion rather than by container. A null object is an invisible layer that holds transform data, and any layer parented to it follows its position, scale, and rotation.
- Create a null from Layer > New > Null Object.
- In the timeline, find the Parent & Link column (enable it in the column menu if you can't see it).
- For each layer you want to group, use the pick whip to link it to the null, or choose the null from the dropdown.
- Animate the null to move the whole set.
Because every child layer remains in your main timeline, you keep full visibility and can still animate each one independently. Parenting is often the better choice for character rigs, camera-style moves on a cluster of elements, and anything where you need a single control handle without nesting.
A few habits keep it manageable:
- Name nulls clearly (
CTRL_Cluster_A) so they stand out from content layers. - Put the anchor point of the null where you want rotation and scaling to originate.
- Remember that parenting only passes down transforms (not opacity), so fade a group with an adjustment layer, a pre-comp, or an expression-driven slider instead.
Method 3: Group by Color Label and Select Label Group
If your goal is to organize and select, not to nest, labels are the fastest approach and don't change the structure of your comp.
- Select the related layers.
- Click the colored square in the Label column next to any of them and pick a color.
- To reselect a set later, click a label swatch and choose Select Label Group. Every layer with that color is selected at once, wherever it sits in the stack.
This is useful for quickly selecting all type layers, all backgrounds, or all of the elements you're about to offset in time. Combine labels with reordering: drag related layers next to each other so the color blocks read as visible bands in the timeline.
Two tips:
- Use a consistent color scheme across projects (for example, green for type, red for FX, blue for background), which helps teams share a convention.
- Labels are cosmetic. They won't move, hide, or transform layers. Use them for selection and readability only.
Method 4: Hide Clutter with Shy Layers
The Shy switch (the small icon that looks like a figure peeking over a wall) doesn't group layers, but it makes grouped sets disappear from view so the timeline stays manageable.
- Enable the Shy switch on layers you don't need to see right now.
- Toggle Hide Shy Layers at the top of the timeline.
- Shy layers vanish from the timeline list but continue to render in the composition.
Shy works well alongside labels or parenting. Park a finished cluster of background layers as shy, and your attention stays on the active work. Just remember that layers are still there; a forgotten shy layer can cause confusion when something renders that you can't see in the stack.
Grouping Inside Shape Layers
Shape layers have their own real grouping system. Inside a shape layer's Contents, you can select multiple paths and fills, then press Ctrl/Cmd+G to nest them in a group with its own transform properties. This is the closest After Effects gets to vector-style groups.
Use shape groups when:
- You're building icons, charts, or logo elements from many paths.
- You want to apply operators like Trim Paths, Repeater, or Offset Paths to a subset of shapes.
- You want to keep dozens of related shapes under one layer instead of dozens of layers.
Remember that this works for shape content only, not for footage, solids, or text layers.
Grouping Imported Photoshop and Illustrator Layers
When you import a layered Photoshop or Illustrator file as a composition, the layers may need regrouping inside After Effects. If you need that hierarchy, group the relevant layers after import with the methods above. Naming layers in the source file before import saves a lot of cleanup later.
Keep the Project Panel Organized Too
Layer grouping is only half the problem. Keep your Project panel as tidy as your timeline:
- Create folders for Comps, Pre-comps, Footage, Stills, and Renders.
- Prefix pre-comps with a consistent tag (for example,
PC_).
Pre-composing without naming discipline quickly turns a project into dozens of Pre-comp 1 entries, which is just a different wall of clutter.
Choosing the Right Grouping Method
Most real projects combine these. A common setup: label everything by type, parent character parts to a few nulls, pre-compose finished background scenes, and mark any leftover utility layers as shy.
Quick Workflow Checklist
- Label layers by role as you build, not at the end.
- Name layers and pre-comps clearly before they multiply.
- Use parenting when you want shared motion with visible layers.
- Pre-compose when you need a single unit for effects, reuse, or render isolation.
- Use Shy and Select Label Group to navigate dense timelines.
- Keep the Project panel organized so nested comps remain findable.
Final Thoughts
There's no single "group" button in After Effects, but there are several ways to get the effect you want. Pre-compose for a true nested unit, parent to a null for shared motion, label for selection, and use Shy for focus. Matching the method to the task keeps your timeline readable and your comps easy to revise, whether you're working solo or passing project files to a team.