---
title: "pose.set: Pose Bones — Scene kit command — Kition"
description: "Sets location, rotation and/or scale of pose bones `bones`."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/pose.set"
---

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

# pose.set

**Pose Bones.** Sets location, rotation and/or scale of pose bones `bones`.

- 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 |
| `location` | `number[]` | no | Location in the bone's rest space, metres [x, y, z] |
| `rotation` | `number[]` | no | Rotation in degrees, XYZ Euler, in the bone's rest space [x, y, z] |
| `scale` | `number[]` | no | Scale [x, y, z] |

## Call through scene_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `bones`, `location`, `rotation`, `scale`. 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"
        }
      ]
    },
    "location": {
      "description": "Location in the bone's rest space, metres [x, y, z]",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "rotation": {
      "description": "Rotation in degrees, XYZ Euler, in the bone's rest space [x, y, z]",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "scale": {
      "description": "Scale [x, y, z]",
      "items": {
        "type": "number"
      },
      "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).
