---
title: "camera.orbitNull: Create Orbit Null — Motion kit command — Kition"
description: "Create Orbit Null: a 3D null at the camera's point of interest becomes the camera's parent, so rotating the null orbits the camera around what it looks at."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/camera.orbitNull"
---

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

# camera.orbitNull

**Create Orbit Null.** Create Orbit Null: a 3D null at the camera's point of interest becomes the camera's parent, so rotating the null orbits the camera around what it looks at.

- Kit: Motion 0.1.0 (.kmotion); reference: [Motion kit commands](https://developer.kition.ai/docs/kits/motion.md)
- Changes the document: yes
- Acts on: `layer` (one id), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `camera` | `integer` | no | read by the command beside its listed parameters |
| `comp` | `integer \| string` | no |  |
| `layer` | `integer \| string` | no | camera (default selected/active); default selected/active |

## Call through motion_run

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

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

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "camera": {
      "description": "read by the command beside its listed parameters",
      "type": "integer",
      "x-khp-name": "name",
      "x-khp-types": [
        "Layer"
      ]
    },
    "comp": {
      "oneOf": [
        {
          "description": "item id",
          "type": "integer"
        },
        {
          "description": "comp name",
          "type": "string"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "Item"
      ]
    },
    "layer": {
      "description": "camera (default selected/active); default selected/active",
      "oneOf": [
        {
          "description": "layer id or 1-based index",
          "type": "integer"
        },
        {
          "description": "layer name or #n",
          "type": "string"
        }
      ],
      "x-khp-index": "#",
      "x-khp-index-numbers": true,
      "x-khp-name": "name",
      "x-khp-types": [
        "Layer"
      ]
    }
  },
  "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).
