Align or distribute layers in 2D space

Use the Align panel to line up or evenly space selected layers. You can align or distribute layers vertically or horizontally.

  1. Select the layers to align or distribute.
  2. Choose Selection or Composition from the Align Layers To menu.
    Selection
    Aligns selected layers according to the layer boundaries of the selected layers.

    Composition
    Aligns selected layers according to the boundaries of the composition frame.

  3. In the Align panel, click the button representing the desired type of alignment or distribution.
  • To distribute, you must select three or more layers. When Selection is chosen in the Align Layers To menu, you must select two or more layers to align. When Composition is chosen in the Align Layers To menu, you must select one or more layers to align.

  • When Selection is chosen in the Align Layers To menu, each alignment option aligns selected layers to the layer that most closely represents the new alignment. For example, for right-edge alignment, all selected layers align to the selected layer with the edge that is farthest to the right.

  • A distribution option evenly spaces selected layers between the two most extreme layers. For example, for a vertical distribution option, the selected layers are distributed between the topmost and bottommost selected layers.

  • When you distribute layers of different sizes, the spaces between layers may not be uniform. For example, distributing layers by their centers creates equal space between the centers—but different-sized layers extend by different amounts into the space between layers.

  • Alignment or distribution options cannot move locked layers.

  • The Align panel does not affect alignment of characters within a text layer.

To move selected layers so that their anchor points are at the center in the current view, choose Layer > Transform > Center In View or press Ctrl+Home (Windows) or Command+Home (Mac OS).

Charles Bordenave (nab) provides a script on the After Effects Scripts website, with which you can distribute layers in 3D space.