---
title: "mask.moveVertex: Move Mask Vertex — Film kit command — Kition"
description: "Moves vertex `vertex` of a mask (or its in/out bezier `handle`) `to` a point or by `delta` in frame pixels; `breakHandles` unlinks the handles."
canonical: "https://developer.kition.ai/docs/kits/film/commands/mask.moveVertex"
---

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

# mask.moveVertex

**Move Mask Vertex.** Moves vertex `vertex` of a mask (or its in/out bezier `handle`) `to` a point or by `delta` in frame pixels; `breakHandles` unlinks the handles.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: yes
- Acts on: `clip` (one id), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `breakHandles` | `boolean` | no |  |
| `clip` | `integer` | no |  |
| `delta` | `number[]` | no | [dx, dy]; one of several alternative parameters |
| `effect` | `integer` | no | a position counted from 0 (the first is 0) |
| `handle` | `"point" \| "in" \| "out"` | no |  |
| `mask` | `integer` | no |  |
| `merge` | `any` | no | key? |
| `to` | `number[]` | no | one of several alternative parameters |
| `vertex` | `integer` | no |  |

## Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `breakHandles`, `clip`, `delta`, `effect`, `handle`, `mask`, `merge`, `to`, `vertex`. 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": {
    "breakHandles": {
      "type": "boolean"
    },
    "clip": {
      "type": "integer",
      "x-khp-types": [
        "Clip"
      ]
    },
    "delta": {
      "description": "[dx, dy]; one of several alternative parameters",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "effect": {
      "description": "a position counted from 0 (the first is 0)",
      "type": "integer"
    },
    "handle": {
      "enum": [
        "point",
        "in",
        "out"
      ],
      "type": "string"
    },
    "mask": {
      "type": "integer"
    },
    "merge": {
      "description": "key?"
    },
    "to": {
      "description": "one of several alternative parameters",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "vertex": {
      "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).
