---
title: "transform.set: Transform Settings — Scene kit command — Kition"
description: "Sets the person's transform settings: the pivot point rotations and scales turn about, the orientation axis keys and the gizmo follow, snapping on or off and what it snaps to, and auto-keying (a confirmed transform keys what it changed at the current frame). View state: no undo step."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/transform.set"
---

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

# transform.set

**Transform Settings.** Sets the person's transform settings: the pivot point rotations and scales turn about, the orientation axis keys and the gizmo follow, snapping on or off and what it snaps to, and auto-keying (a confirmed transform keys what it changed at the current frame). View state: no undo step.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `autoKey` | `boolean` | no | Auto-keying: a confirmed transform keys what it changed at the current frame, in its own undo step (false) |
| `orientation` | `"global" \| "local" \| "normal" \| "view"` | no | Whose axes the axis keys and the gizmo follow (global) |
| `pivot` | `"median" \| "boundingBox" \| "individual" \| "cursor" \| "active"` | no | The point rotations and scales turn about: the selection's median (the default), its bounding box's middle, each object's own origin, the 3D cursor, the active object |
| `snap` | `boolean` | no | Transforms snap (Ctrl inverts it while held); false |
| `snapTarget` | `"increment" \| "vertex" \| "edge" \| "face"` | no | What they snap to (increment) |

## Call through scene_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `autoKey`, `orientation`, `pivot`, `snap`, `snapTarget`. scene_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `autoKey` | `boolean` | no |  |
| `orientation` | `string` | no |  |
| `pivot` | `string` | no |  |
| `snap` | `boolean` | no |  |
| `snapTarget` | `string` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "autoKey": {
      "type": "boolean"
    },
    "orientation": {
      "type": "string"
    },
    "pivot": {
      "type": "string"
    },
    "snap": {
      "type": "boolean"
    },
    "snapTarget": {
      "type": "string"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "autoKey": {
      "description": "Auto-keying: a confirmed transform keys what it changed at the current frame, in its own undo step (false)",
      "type": "boolean"
    },
    "orientation": {
      "description": "Whose axes the axis keys and the gizmo follow (global)",
      "enum": [
        "global",
        "local",
        "normal",
        "view"
      ],
      "type": "string"
    },
    "pivot": {
      "description": "The point rotations and scales turn about: the selection's median (the default), its bounding box's middle, each object's own origin, the 3D cursor, the active object",
      "enum": [
        "median",
        "boundingBox",
        "individual",
        "cursor",
        "active"
      ],
      "type": "string"
    },
    "snap": {
      "description": "Transforms snap (Ctrl inverts it while held); false",
      "type": "boolean"
    },
    "snapTarget": {
      "description": "What they snap to (increment)",
      "enum": [
        "increment",
        "vertex",
        "edge",
        "face"
      ],
      "type": "string"
    }
  },
  "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).
