What It Does
Trim Comp to Contents adjusts your composition’s duration to match the in and out points of its layers. If layers extend past the comp boundaries, the script expands the comp to fit them. Layer timing relative to one another stays intact.
The script works on all layers by default (including locked ones), with options to trim only selected layers, ignore locked layers, crop nested compositions, or preserve non-zero comp start times.
Key Features
Trim to All or Selected. Choose whether to trim based on all layers in the comp or only selected ones.
Ignore Locked Layers. Exclude locked layers from the trimming logic when needed.
Crop Nested Comps. Run through nested precomps recursively and trim those as well.
Preserve Comp Start Time. Maintain compositions that don’t start at zero when enabled.
Headless Mode. Skip the UI panel and run the script directly from a toolbar or launcher like ft-toolbar or Script Launcher. Use keyboard modifiers to control behavior: Alt/Option for selected layers only, Shift to ignore locked layers, Ctrl/Cmd to preserve start time.
Who It’s For
Motion designers and editors who regularly adjust comp durations to fit layer content. Helpful when working with imported footage, building modular projects, or cleaning up timelines before export.
Pricing
Pay what you want, with a suggested minimum of $4.99. Individual users can pay any amount. Businesses and teams must pay the suggested price for a valid license.