---
title: "timeline.move: Move Clips — Film kit command — Kition"
description: "Moves clips to new tracks and times in one step: `moves` lists {clip, track, time ticks}. `insert: true` pushes clips at the destination right; otherwise it overwrites. Linked partners follow unless `linked: false`. `copy: true` copies the clips there instead and leaves them where they are (the answer's `copied` names the copies). `snap` (\"markers\", \"beats\" or both) lands the earliest clip on the nearest sequence marker or music beat within `toleranceFrames` (3) and moves the rest by as much; the answer's `snapped` says {from, to}."
canonical: "https://developer.kition.ai/docs/kits/film/commands/timeline.move"
---

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

# timeline.move

**Move Clips.** Moves clips to new tracks and times in one step: `moves` lists {clip, track, time ticks}. `insert: true` pushes clips at the destination right; otherwise it overwrites. Linked partners follow unless `linked: false`. `copy: true` copies the clips there instead and leaves them where they are (the answer's `copied` names the copies). `snap` ("markers", "beats" or both) lands the earliest clip on the nearest sequence marker or music beat within `toleranceFrames` (3) and moves the rest by as much; the answer's `snapped` says {from, to}.

- 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 |
| --- | --- | --- | --- |
| `copy` | `boolean` | no |  |
| `insert` | `boolean` | no |  |
| `linked` | `boolean` | no |  |
| `moves` | `object[]` | no | [{"clip":id,"track":id\|"V2","time":ticks}] |
| `snap` | `any` | no | "markers"\|"beats"\|["markers","beats"]? |
| `toleranceFrames` | `integer` | no |  |

## Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `copy`, `insert`, `linked`, `moves`, `snap`, `toleranceFrames`. 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": {
    "copy": {
      "type": "boolean"
    },
    "insert": {
      "type": "boolean"
    },
    "linked": {
      "type": "boolean"
    },
    "moves": {
      "description": "[{\"clip\":id,\"track\":id|\"V2\",\"time\":ticks}]",
      "items": {
        "additionalProperties": true,
        "properties": {
          "clip": {
            "description": "an id",
            "type": "integer",
            "x-khp-role": "object",
            "x-khp-types": [
              "Clip"
            ]
          },
          "time": {
            "description": "ticks (254016000000 per second)",
            "type": "integer"
          },
          "track": {
            "description": "destination track id or V1/A1 ordinal",
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "x-khp-role": "object",
            "x-khp-types": [
              "Track"
            ]
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "snap": {
      "description": "\"markers\"|\"beats\"|[\"markers\",\"beats\"]?"
    },
    "toleranceFrames": {
      "default": 3,
      "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).
