Trim to Layer

  • Compatibility After Effects
    Please check exact version compatibility under the "COMPATIBILITY" tab below

Author: Lloyd Alvarez

Subscribe for notifications
Subscribe for new version notifications Subscribe
Name Your Own Price Individual users can pay any amount, the price displayed is a suggestion. Businesses, teams, etc must pay the suggested price to receive a valid license. See full terms.
Add to Wishlist

Quick Overview

Trims the selected layer to the layer above, below or fit between the two

Trims the selected layer to the layer above, below or fit between the two This should be useful for track mattes, glows, tint layers, adjustment layers, difference layers, etc.

Now with dockable UI, KBar and direct arguments support!

UI

KBar Usage

You can trigger each function directly from a KBar button.

Add a "JSX/JSXBIN File" button and add one of the following arguments for each function:

  • Above
  • Below
  • Fit


Example: 

KBar Example

Direct argument usage

You can also change the filename and put it in the 'Scripts' folder (not the ScriptUI Panels folder) and have it perform any of the arguments directly. Simply add a dash and the argument you want after the filename and before the extension. For example:

Trim To Layer-above.jsxbin

Will trim to the layer above.

The options are:

  • Trim To Layer-above.jsxbin
  • Trim To Layer-below.jsxbin
  • Trim To Layer-fit.jsxbin

 

After Effects 2025, 2024, 2023, 2022, 2021, 2020, CC 2019, CC 2018, CC 2017, CC 2015.3, CC 2015
  • Add Edit Markers

    Lloyd Alvarez

    • Compatibility After Effects

    Add Edit Markers

    Will add Layer or Comp markers at the in and out points of the selected layers in a comp.
    Add to Cart
    $14.99
  • Magnum 3

    Lloyd Alvarez

    • Compatibility After Effects

    Magnum 3

    Automagically detects edits in footage. Now with an all new detection engine that is easier to use and gives better results. What's not to love?

    Add to Cart
    $39.99
  • Nth Layer Selector

    Lloyd Alvarez

    • Compatibility After Effects

    Nth Layer Selector

    Selects every Nth layer. If you have a set of layers already selected it will select every Nth layer from within that selection otherwise it will select every Nth layer from the whole comp.

    Add to Cart
    $4.99
  • Random Layer Selector

    Lloyd Alvarez

    • Compatibility After Effects

    Random Layer Selector

    Randomly selects layers. There's 4 options for how many layers are selected randomly: You can randomly select most of the layers, many of the layers, not many and finally you can have it randomly select very few of the layers.
    Add to Cart
    $4.99
  • Create Trimmed Adjustment Layer

    Lloyd Alvarez

    • Compatibility After Effects

    Create Trimmed Adjustment Layer

    Creates a new adjustment or null layer and trim it to the range of the selected layers.
    Add to Cart
    $4.99
  • Batch Search-n-Replace Paths

    Lloyd Alvarez

    • Compatibility After Effects

    Batch Search-n-Replace Paths

    Batch process folders of After Effects project and search and replace file paths. This can come in handy if you are moving a project to a different folder structure like a new server. You can also use it to batch replace files in many projects at once.
    Add to Cart
    $49.99
View all Lloyd Alvarez products