---
title: "uv.liveUnwrap: Live Unwrap — Scene kit command — Kition"
description: "Sets local UV live unwrap preferences (`on`, `method`, `iterations`) without changing the scene. Pinned UV transforms relax their islands in one undo step."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/uv.liveUnwrap"
---

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

# uv.liveUnwrap

**Live Unwrap.** Sets local UV live unwrap preferences (`on`, `method`, `iterations`) without changing the scene. Pinned UV transforms relax their islands in one 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 |
| --- | --- | --- | --- |
| `iterations` | `integer` | no | Minimum stretch iterations, 1 to 100 (30) |
| `method` | `"angleBased" \| "conformal" \| "minimumStretch"` | no | Live relaxation method |
| `on` | `boolean` | no | Enable live relaxation while pinned UVs move |

## Call through scene_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `iterations`, `method`, `on`. scene_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `iterations` | `integer` | no |  |
| `method` | `string` | no |  |
| `on` | `boolean` | no |  |

```json
{
  "additionalProperties": false,
  "properties": {
    "iterations": {
      "type": "integer"
    },
    "method": {
      "type": "string"
    },
    "on": {
      "type": "boolean"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "iterations": {
      "description": "Minimum stretch iterations, 1 to 100 (30)",
      "type": "integer"
    },
    "method": {
      "description": "Live relaxation method",
      "enum": [
        "angleBased",
        "conformal",
        "minimumStretch"
      ],
      "type": "string"
    },
    "on": {
      "description": "Enable live relaxation while pinned UVs move",
      "type": "boolean"
    }
  },
  "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).
