---
title: "view.splitLockedViewer: Split with New Locked Viewer — Motion kit command — Kition"
description: "View ▸ Split with New Locked Viewer: lock a second viewer to the comp (default the active one) and its current 3D view (or `view`)."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/view.splitLockedViewer"
---

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

# view.splitLockedViewer

**Split with New Locked Viewer.** View ▸ Split with New Locked Viewer: lock a second viewer to the comp (default the active one) and its current 3D view (or `view`).

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `comp` | `integer \| string` | no |  |
| `view` | `string` | no | 3D view id |

## Call through motion_run

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

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `comp` | `integer` | no |  |
| `view` | `string` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "comp": {
      "type": "integer"
    },
    "view": {
      "type": "string"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "comp": {
      "oneOf": [
        {
          "description": "item id",
          "type": "integer"
        },
        {
          "description": "comp name",
          "type": "string"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "Item"
      ]
    },
    "view": {
      "description": "3D view id",
      "type": "string"
    }
  },
  "type": "object"
}
```

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).
