---
title: "view.closeLockedViewer: Close Locked Viewer — Motion kit command — Kition"
description: "Closes the locked composition viewer, if one is open. Returns {closed}; changes no project content."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/view.closeLockedViewer"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/view.closeLockedViewer](https://developer.kition.ai/docs/kits/motion/commands/view.closeLockedViewer)

# view.closeLockedViewer

**Close Locked Viewer.** Closes the locked composition viewer, if one is open. Returns {closed}; changes no project content.

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

## Parameters

None.

## Call through motion_run

```text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "view.closeLockedViewer" }]
}
```

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

## Result



```json
{
  "description": "The command's answer"
}
```

Generated from the command list of @kition/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
