What grouping layers does and when you need it

Grouping layers in After Effects means putting multiple layers into a folder so you can move, hide, or adjust them all at once. Instead of selecting each layer individually every time you want to make a change, you select the folder and the change applies to everything inside it. This saves time on projects with dozens of layers and makes your timeline panel much easier to read.

You need grouping when you have related layers that move together — like all the text layers for a title sequence, all the background elements, or all the parts of an animated character. Without grouping, adjusting the position or opacity of five separate layers means five separate clicks. With a folder, it takes one.

After Effects calls these folders composition folders or pre-compositions, depending on how you create them. The simplest method uses composition folders, which organize your timeline without changing how the layers render. Pre-compositions are more powerful but also more complex, and most people start with folders.

Key Takeaways

  • Create a composition folder by right-clicking empty space in the timeline, selecting New Folder, and dragging layers into it.
  • Folders let you move, hide, or adjust opacity for multiple layers at once by selecting the folder instead of each layer individually.
  • Collapse a folder by clicking the arrow next to its name to reduce timeline clutter without deleting anything inside.
  • Pre-compositions are a more advanced grouping method that treats grouped layers as a single layer with its own settings, useful for complex animations.

Creating a composition folder and adding layers

Open your After Effects project and look at the timeline panel on the left side of your screen. Right-click on any empty area in the timeline — not on a layer, but in the gray space below your layers. A menu appears. Click New Folder. A folder icon appears in the timeline with a default name like "Folder 1".

Rename the folder by double-clicking its name and typing something descriptive — "Title Text", "Background Elements", "Character Parts". Press Enter to confirm. Now drag the layers you want to group into this folder. Click and hold on a layer, then drag it over the folder until the folder highlights, then release. The layer moves inside the folder. Repeat for each layer you want to group.

Once layers are in the folder, you can select the folder itself and move all of them together. Click the folder name once to select it, then use the Position tool or arrow keys to move everything at once. You can also adjust the folder's opacity, rotation, or scale, and those changes apply to every layer inside it.

Collapsing folders to clean up your timeline

When you have many layers grouped into folders, your timeline becomes crowded. Click the small arrow or triangle next to the folder name to collapse it. The folder shrinks and hides all the layers inside, but they are still there — nothing is deleted. Your timeline now shows only the folder, not the individual layers.

Collapsed folders make it easier to see the overall structure of your project. You can still select the folder and adjust it, and you can still expand it again by clicking the arrow a second time. Many editors collapse folders they are not actively working on and expand only the ones they need to edit.

Moving layers between folders and removing them

To move a layer from one folder to another, drag it out of the current folder and into the new one. The layer leaves the first folder and enters the second. To remove a layer from a folder entirely, drag it out of the folder and into empty space in the timeline. The layer is no longer grouped but remains in your project.

If you want to delete an entire folder and everything inside it, right-click the folder and select Delete. After Effects asks you to confirm. If you want to keep the layers but remove the folder, drag all the layers out of the folder first, then delete the empty folder.

Using pre-compositions for more control

A pre-composition is a more advanced way to group layers. Instead of a simple folder, a pre-composition creates a new composition that contains your grouped layers, and that composition appears as a single layer in your original timeline. This is useful when you want grouped layers to have their own settings separate from the rest of your project.

To create a pre-composition, select the layers you want to group, right-click, and choose Pre-compose. After Effects opens a dialog asking for a name and whether to move all attributes into the new composition. For most cases, leave the default settings and click OK. A new composition window opens showing your grouped layers, and your original timeline now shows a single layer representing that composition.

Pre-compositions are more powerful than folders because you can adjust effects, timing, and rendering on the entire group as a single unit. However, they are also more complex to edit — you have to open the pre-composition window to change the layers inside. Start with composition folders for simple grouping, and use pre-compositions when you need the extra control.

Selecting and adjusting grouped layers

Once layers are in a folder, click the folder name to select the entire group. The folder highlights in the timeline, and a bounding box appears around all the layers in your canvas. Any adjustment you make — moving, rotating, scaling, or changing opacity — affects every layer in the folder at once.

To select individual layers inside a folder without ungrouping them, expand the folder by clicking the arrow, then click the specific layer you want. That layer alone is selected, and you can adjust it independently. The folder stays intact and you can collapse it again when you are done.

If you need to select multiple layers that are not in the same folder, hold Shift and click each layer name. They all highlight, and you can move or adjust them together without creating a folder. This is useful for quick edits when you do not want to organize permanently.

Common mistakes and how to avoid them

The most common mistake is dragging a layer partway into a folder and releasing too early, which leaves the layer in the timeline instead of moving it into the folder. Watch for the folder to highlight with a darker color before you release. If a layer does not move, try again and hold the drag longer.

Another mistake is adjusting a folder's opacity or position and forgetting that the change applies to all layers inside. If you accidentally made all your grouped layers semi-transparent, click the folder, look at the Opacity value in the properties panel, and change it back to 100. The individual layers inside are not affected — only the folder's settings change.

Do not confuse composition folders with pre-compositions. If you right-click layers and see "Pre-compose" instead of "New Folder", you are about to create a pre-composition, which is more complex. For simple grouping, use New Folder instead. You can always convert to a pre-composition later if you need the extra features.

Frequently Asked Questions

Can I move a folder to a different composition?

No. Folders exist only in the composition where you create them. If you need the same grouped layers in another composition, you can copy the layers individually or create a pre-composition and import it into the other composition. Pre-compositions can be used in multiple compositions at once.

What happens to a folder if I delete one layer inside it?

The folder stays intact. Only the layer you deleted is removed. All other layers in the folder remain grouped and in place. If you delete all layers inside a folder, the empty folder stays in your timeline until you delete it manually.

Can I nest folders inside other folders?

Yes. You can drag a folder into another folder to create nested groups. This is useful for large projects with many layers. Click the arrow next to the parent folder to expand it and see the folders inside, then click the arrow next to the child folder to see its layers.

Does grouping layers change how they render or export?

No. Grouping is only for organization in your timeline. The final render and export look exactly the same whether layers are grouped or not. Folders are invisible to the output — they exist only to help you work faster.

Should I use folders or pre-compositions for a complex animation?

Start with folders if you just need to organize and move layers together. Use pre-compositions if you need to apply effects to the entire group, adjust timing for all layers at once, or reuse the same grouped animation in multiple places in your project.