---
title: "keyframe.setLabel: Keyframe Label — Motion kit command — Kition"
description: "Sets the label colour of the selected keyframes: `label` a colour name, 0–16, or none. Returns the label and how many keys changed; it only marks keys, motion is unchanged."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/keyframe.setLabel"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/keyframe.setLabel](https://developer.kition.ai/docs/kits/motion/commands/keyframe.setLabel)

# keyframe.setLabel

**Keyframe Label.** Sets the label colour of the selected keyframes: `label` a colour name, 0–16, or none. Returns the label and how many keys changed; it only marks keys, motion is unchanged.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `label` | `string` | no | name\|none\|0–16 |

## Call through motion_run

```text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "keyframe.setLabel" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `label`. motion_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": {
    "label": {
      "description": "name|none|0–16",
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
