---
title: "trim.edit: Trim Edit — Film kit command — Kition"
description: "Enters trim mode: selects the roll edit point nearest the playhead on targeted tracks if none is selected. Answers {editPoints}."
canonical: "https://developer.kition.ai/docs/kits/film/commands/trim.edit"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/film/commands/trim.edit](https://developer.kition.ai/docs/kits/film/commands/trim.edit)

# trim.edit

**Trim Edit.** Enters trim mode: selects the roll edit point nearest the playhead on targeted tracks if none is selected. Answers {editPoints}.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: yes

## Parameters

None.

## Call through film_run

```text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "trim.edit" }]
}
```

The required parameters, with placeholders for their types: not a tested example. film_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

Generated from the command list of @kition/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
