pt_CropPrecomps is a script by Paul Tuersley that crops nested compositions to fit their image content. It is useful with layered Photoshop files imported as compositions, where precomps can retain the full document size even when their layers occupy a smaller area. Cropped bounds make those layers easier to work with and animate. Reducing the area After Effects processes may also speed rendering.

The current listing identifies version 2.3 for After Effects CS3 through 2026. Version 2.3 fixed an issue with separated dimensions. The script is sold through aescripts under its Name Your Own Price terms. The suggested price is $9.99; individual users may pay any amount, while businesses and teams must pay the suggested price for a valid license. Check the developer’s listing for current terms and compatibility.

Photoshop import and crop steps

  1. Import the Photoshop file as a Composition. Choose “Cropped Layers” in After Effects CS3 or CS4, or “Retain Layer Sizes” in CS5.
  2. Open the main composition for the imported file and click the Crop Precomps button.
  3. Use Retain Border to keep extra space around the cropped area for animation or effects.

A selected precomp option can crop only chosen precomp layers. This is useful when you want to leave the rest of the imported file alone.

Layer behavior and limits

  • The script is intended for newly imported or created layers. It may not work correctly with layers that have been scaled, rotated or given position keyframes in After Effects.
  • It supports 2D layers, including text and shape layers.
  • Adjustment layers and layers completely outside the composition boundaries are ignored when calculating crop size. Turned-off layers are included.

Using it with Illustrator artwork

Illustrator files do not import as nested compositions. Import the artwork as layers with the “Composition - Layer Size” option, group the layers with Layer > Pre-compose, then use pt_CropPrecomps on those nested compositions.