# Trim

## Description

Automatically adds a Trim Path to your layer.

## Setup

1. Select one or more layers and properties you'd like to add trim paths to.
2. Run the Trim tool

## Alternative: Re-Key

Our new Re-Key tool offers a better alternative to the older Trim tool. With Re-Key, you can not only add Trim Paths, but specify start/end/offset keyframes, as well as durations.&#x20;

{% content-ref url="/pages/IC4zutj1sRrT9XXHEIEG" %}
[Re-Keys](/libraries/re-keys.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://motion-studio.mtmograph.com/ae-extension/tools/trim.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
