---
title: "pose.deleteKey: Delete Keyframe — Scene kit command — Kition"
description: "Deletes the `properties` keyframes (location, rotation, scale; all without it) of pose bones `bones` at `frame`."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/pose.deleteKey"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/scene/commands/pose.deleteKey](https://developer.kition.ai/docs/kits/scene/commands/pose.deleteKey)

# pose.deleteKey

**Delete Keyframe.** Deletes the `properties` keyframes (location, rotation, scale; all without it) of pose bones `bones` at `frame`.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `bones` | `string \| string[]` | no | The bones; the selected ones when left out |
| `frame` | `number` | no | The frame; the current frame when left out |
| `properties` | `("location" \| "rotation" \| "scale")[]` | no | Whose keys to delete (all three when left out) |

## Call through scene_run

```text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "pose.deleteKey" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `bones`, `frame`, `properties`. scene_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": {
    "bones": {
      "description": "The bones; the selected ones when left out",
      "oneOf": [
        {
          "description": "a bone's name",
          "type": "string"
        },
        {
          "description": "bones' names",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ]
    },
    "frame": {
      "description": "The frame; the current frame when left out",
      "type": "number"
    },
    "properties": {
      "description": "Whose keys to delete (all three when left out)",
      "items": {
        "enum": [
          "location",
          "rotation",
          "scale"
        ],
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/scene-darwin-arm64@0.1.0 and the kit itself (scene_commands through @kition/cli@0.1.1, built from KitionAI/kition-scene@4d06faf).
