---
title: "modal.cancel: Cancel Transform — Scene kit command — Kition"
description: "Ends the modal under way and puts everything back as it was, leaving no undo step; Shift+D's copies and an extrusion's geometry stay (one step), a loop cut already cut stays in the middle."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/modal.cancel"
---

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

# modal.cancel

**Cancel Transform.** Ends the modal under way and puts everything back as it was, leaving no undo step; Shift+D's copies and an extrusion's geometry stay (one step), a loop cut already cut stays in the middle.

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

## Parameters

None.

## Call through scene_run

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

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `active` | `boolean` | no |  |
| `cancelled` | `boolean` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "active": {
      "type": "boolean"
    },
    "cancelled": {
      "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).
