---
title: "light.studio: Studio Lights — Scene kit command — Kition"
description: "Builds or updates a three-point light rig on `target` as one undo step: Key Light (a spot camera-left), Fill Light (a cool area light), Rim Light (a warm spot from behind), named so they can be edited; sets the world strength, ambient occlusion, and the AgX view. `preset` product, dramatic, or soft; `distance` in metres."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/light.studio"
---

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

# light.studio

**Studio Lights.** Builds or updates a three-point light rig on `target` as one undo step: Key Light (a spot camera-left), Fill Light (a cool area light), Rim Light (a warm spot from behind), named so they can be edited; sets the world strength, ambient occlusion, and the AgX view. `preset` product, dramatic, or soft; `distance` in metres.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `distance` | `number` | no | Metres from the target to the key and rim lights (five times half the target's largest side, at least 1) |
| `preset` | `"product" \| "dramatic" \| "soft"` | no | The rig's mood (product) |
| `target` | `integer \| string \| number[]` | yes | What the lights point at |

## Call through scene_run

```text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "light.studio", "params": { "target": <integer | string | number[]> } }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `distance`, `preset`. scene_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": {
    "distance": {
      "description": "Metres from the target to the key and rim lights (five times half the target's largest side, at least 1)",
      "type": "number"
    },
    "preset": {
      "description": "The rig's mood (product)",
      "enum": [
        "product",
        "dramatic",
        "soft"
      ],
      "type": "string"
    },
    "target": {
      "description": "What the lights point at",
      "oneOf": [
        {
          "description": "an object's id (its bounding box's centre)",
          "type": "integer"
        },
        {
          "description": "an object's name (its bounding box's centre)",
          "type": "string"
        },
        {
          "description": "a point [x, y, z] in metres",
          "items": {
            "type": "number"
          },
          "type": "array"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "Object"
      ]
    }
  },
  "required": [
    "target"
  ],
  "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).
