---
title: "symbol.spray: Symbol Sprayer — Vector kit command — Kition"
description: "Sprays symbol instances along points into a symbol set (or removes them with alt), as the Symbol Sprayer does."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/symbol.spray"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/symbol.spray](https://developer.kition.ai/docs/kits/vector/commands/symbol.spray)

# symbol.spray

**Symbol Sprayer.** Sprays symbol instances along points into a symbol set (or removes them with alt), as the Symbol Sprayer does.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `alt` | `boolean` | no | remove instances |
| `density` | `integer` | no | 1 to 10; 5 |
| `name` | `string` | no |  |
| `points` | `any[]` | no |  |
| `radius` | `integer` | no |  |
| `scale` | `integer` | no |  |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "symbol.spray" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `alt`, `density`, `name`, `points`, `radius`, `scale`. vector_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": {
    "alt": {
      "description": "remove instances",
      "type": "boolean"
    },
    "density": {
      "description": "1 to 10; 5",
      "type": "integer"
    },
    "name": {
      "type": "string",
      "x-khp-name": "name",
      "x-khp-types": [
        "Symbol"
      ]
    },
    "points": {
      "type": "array"
    },
    "radius": {
      "default": 40,
      "type": "integer"
    },
    "scale": {
      "default": 1,
      "type": "integer"
    }
  },
  "returns": "{id, count}",
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
