---
title: "marker.edit: Edit Marker — Film kit command — Kition"
description: "Changes a marker by id (`marker`): name, comment, `color` (a marker colour or label name), `durationFrames`/`durationSeconds` (0 makes it a point marker), or where a sequence marker starts (`time`, ticks; a Source marker keeps its time)."
canonical: "https://developer.kition.ai/docs/kits/film/commands/marker.edit"
---

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

# marker.edit

**Edit Marker.** Changes a marker by id (`marker`): name, comment, `color` (a marker colour or label name), `durationFrames`/`durationSeconds` (0 makes it a point marker), or where a sequence marker starts (`time`, ticks; a Source marker keeps its time).

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `color` | `string` | no | marker colour (Red, Orange, Yellow, Green, Cyan, Blue, Purple) or label name (Violet, Iris, …)? |
| `comment` | `string` | no |  |
| `durationFrames` | `integer` | no |  |
| `durationSeconds` | `number` | no |  |
| `marker` | `integer` | no |  |
| `name` | `string` | no |  |
| `target` | `"program" \| "source"` | no |  |
| `time` | `integer` | no | ticks (254016000000 per second) |

## Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `color`, `comment`, `durationFrames`, `durationSeconds`, `marker`, `name`, `target`, `time`. film_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "color": {
      "description": "marker colour (Red, Orange, Yellow, Green, Cyan, Blue, Purple) or label name (Violet, Iris, …)?",
      "type": "string"
    },
    "comment": {
      "type": "string"
    },
    "durationFrames": {
      "type": "integer"
    },
    "durationSeconds": {
      "type": "number"
    },
    "marker": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "target": {
      "enum": [
        "program",
        "source"
      ],
      "type": "string"
    },
    "time": {
      "description": "ticks (254016000000 per second)",
      "type": "integer"
    }
  },
  "type": "object"
}
```

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).
