---
title: "node.addZoneItem: Add Zone Item — Scene kit command — Kition"
description: "Adds an item to a repeat or simulation zone node's state."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/node.addZoneItem"
---

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

# node.addZoneItem

**Add Zone Item.** Adds an item to a repeat or simulation zone node's state.

- 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 |
| --- | --- | --- | --- |
| `group` | `integer \| string` | no | The group's id or name; the only group when left out |
| `name` | `string` | yes | The item's name, unique in the zone: a socket on both of its nodes |
| `node` | `integer` | yes | Either node of the zone: its id |
| `type` | `"geometry" \| "float" \| "int" \| "bool" \| "vector" \| "rotation"` | yes | What the item carries |

## Call through scene_run

```text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "node.addZoneItem", "params": { "name": <string>, "node": <integer>, "type": <"geometry" | "float" | "int" | "bool" | "vector" | "rotation"> } }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `group`. 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": {
    "group": {
      "description": "The group's id or name; the only group when left out",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "NodeGroup"
      ]
    },
    "name": {
      "description": "The item's name, unique in the zone: a socket on both of its nodes",
      "type": "string"
    },
    "node": {
      "description": "Either node of the zone: its id",
      "type": "integer",
      "x-khp-types": [
        "Node"
      ]
    },
    "type": {
      "description": "What the item carries",
      "enum": [
        "geometry",
        "float",
        "int",
        "bool",
        "vector",
        "rotation"
      ],
      "type": "string"
    }
  },
  "required": [
    "name",
    "node",
    "type"
  ],
  "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).
