Groups and pre-composition

A group holds layers, so they move, turn, fade and animate together. A group can also arrange its layers for you, in a row, an arc, a ring or a grid, and spread them out or gather them up over time.

Six cards in one group, arranged five ways: Linear, Arc, Radial, Carousel and Grid

Make a group

  1. Select the layers you want to group.
  2. Press ⌘ G (Ctrl G on Windows). The layers go into a new group, and nothing moves.

To start with an empty group instead, click Group in the dock, or + at the top of the Layers panel and then Group. Then drag layers onto the group's row in the Layers panel to put them inside.

There's no Ungroup: to take a layer out, drag it out of the group. All the ways to group, including pre-composing several layers at once, are on Layers panel.

The dock's Group always adds a group at the top of the list. To put a group inside another, select a layer in that group first, then use + › Group in the Layers panel.

A group you make in the editor starts with Group rig › Arrangement set to Stack, so every layer stays where you placed it. Choose another arrangement when you want the group to place them for you.

Move, turn or scale the group, and everything inside follows. A group's clip on the timeline also limits everything in it: outside the group's clip, nothing inside shows.

Stretch and skew a group

A layer has one Scale. A group has two more rows in Layout, and everything inside the group follows them:

  • Stretch: how much wider (X) and taller (Y) than its scale the group is drawn. 1 and 1 is as it was. 2 and 0.5 is twice as wide and half as tall, a squash. A value below zero mirrors the group.
  • Skew: slants the group. Angle is how far, in degrees: a positive angle leans the top to the right. Axis turns the line the slant runs along, as Skew Axis does in After Effects.

Both are about the group's own position, and each field has its own keyframe diamond, so a squash and stretch or a lean can be animated. With Scale selected in the toolbar, dragging one handle of a group's gizmo stretches it along that axis.

To stretch or skew a single layer, put it in a group of its own (⌘ G). A card's width and height stay its own, in Size.

Arrange the layers

The Group rig section places a group's layers for you.

The Group rig section: Arrangement, Spacing, Per child, Group opacity and Blend, numbered
  1. Arrangement:

    • Linear: a row, one step of Spacing apart.
    • Arc: along part of a ring. Radius and Angle set its size and how far round it goes.
    • Radial: a full ring.
    • Carousel: a ring round the group's middle, every layer facing out. The Arc field's Radius sets the ring's size. Animate the group's Rotation Y to spin it.
    • Grid: rows and columns.
    • Stack: no arranging. Each layer stays where you put it.
  2. Spacing: the step from one layer to the next, across (X), up (Y) and toward you (Z).
  3. Per child: Tilt turns each layer a little more than the one before. Stagger delays each layer's animation: the second plays that many seconds after the first, the third after the second, and so on.
  4. Group opacity fades the whole group as one picture. See Fade a group as one.
  5. Blend goes from 0, every layer where you placed it, to 1, fully arranged.

The rings lie flat, like a carousel seen from the side. Tip the group toward the camera (Rotation X) to see their shape.

Fan out and gather up

Animate Blend for moves where things gather and spread: a hand of cards fanning out, a menu opening, a logo assembling. Key it at 0, then at 1 a moment later.

Six cards fanning out from a single stack into an arc

To lay layers out in a box instead, with rows, columns and gaps like a web page, use the group's Auto layout section. A layout takes over from the rig. See Layouts and bentos.

Fade a group as one

Group opacity fades the group as if it were one flat picture: where its layers overlap, you don't see one through the other. Fading each layer on its own lets the overlaps show through.

Two overlapping cards: each at 50% opacity, the overlap shows both; with Group opacity at 50%, the front card hides the back one, as one picture

Pre-composition

A pre-composed group is drawn on its own first, as one flat picture, and that picture is then placed in the scene. So the group fades, blends and takes effects as a whole, and glass inside it only bends what's inside the group.

To pre-compose layers: select them, right-click one, and choose Arrange › Pre-compose (it reads Pre-compose 2 layers for two, or Create pre-composition for one).

The right-click menu for two selected layers, with Pre-compose 2 layers numbered

They go into a new group, "Pre-comp 1", without moving. To pre-compose a group you already have, right-click it and choose Arrange › Make this a pre-composition; Release pre-composition turns it back.

A group is also drawn this way on its own whenever it needs to be: when its Group opacity is under 100%, its blend mode isn't Normal, or it has layer filters or effects. See Masks and blend modes and Layer effects.

Note

Up to 24 groups can be drawn as pictures at once. Beyond that, the rest are drawn layer by layer.

Chapters

In a long piece, right-click a group and choose Arrange › Make this a chapter to have it carry its contents: slide its clip in the timeline, and every clip, keyframe and animation inside it moves with it. Lengthening a chapter pushes the ones after it along, and Move chapter earlier and later reorder them. See Move a part of the piece as one.

Combine shapes into one solid

Select a group, and the Combine section's buttons join its shapes into a single 3D solid:

  • Union merges them.
  • Subtract cuts the other shapes out of the first one, the highest in the Layers panel. The line under the buttons names it.
  • Intersect keeps only where they overlap.
  • Exclude keeps everything except where they overlap.
  • Smoothing, under the buttons once the group is a solid, melts the seams together, for soft, poured-looking joins.
  • Slice cuts the solid away flat, from the side Slice from picks (Front to start with). At 0 the solid is whole and at 1 it's gone, so keyframe it to wipe a solid away.

Text with depth is one part, by its letters. Flat text stays as it is beside the solid.

More (…) › Divide keeps every part whole but cuts the solid into a piece for each region, each in the color of the part on top there (the one highest in the group in the Layers panel). It looks like Union until you slice it: with Slice up, a ball inside a box shows as its own color where the box is cut open, for a cutaway.

The pressed button is the group's op; click another to change it. To make it an ordinary group again, click More (…) › Release solid. When the solid is final, More (…) › Bake to a model saves it as one model layer in the group's place, as it shows at the playhead: it no longer follows its shapes, and one undo brings the group back. Two or more selected layers with depth combine the same way: the buttons put them in a new group that's a solid.

A big sphere and a small one combined four ways: Union, Subtract (a bite out of the big one), Intersect (a lens) and Union with Smoothing 0.3 (one soft blob)

The shapes stay layers inside the group, so you can still move and animate each one, and the solid follows. Animate a sphere through another with Smoothing up for a liquid, metaball-like merge.

Linked copies

Instance in the dock makes a linked copy of the selected group: change the original, and every instance follows. See Components.