---
title: "select.anchorsMany: Select Anchors — Vector kit command — Kition"
description: "Sets, adds, toggles or subtracts direct-selected anchors on several paths at once."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/select.anchorsMany"
---

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

# select.anchorsMany

**Select Anchors.** Sets, adds, toggles or subtracts direct-selected anchors on several paths at once.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `add` | `boolean` | no | read by the command beside its listed parameters |
| `anchors` | `any[]` | no | read by the command beside its listed parameters |
| `ids` | `any[]` | no | read by the command beside its listed parameters |
| `items` | `object[]` | no | [{id, anchors}] |
| `mode` | `"set" \| "add" \| "toggle" \| "subtract"` | no | set by default; add: true is mode add |

## Call through vector_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `add`, `anchors`, `ids`, `items`, `mode`. vector_run answers the step’s result in `completed[i].result`.

## Result



```json
{}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "add": {
      "description": "read by the command beside its listed parameters",
      "type": "boolean"
    },
    "anchors": {
      "description": "read by the command beside its listed parameters",
      "type": "array"
    },
    "ids": {
      "description": "read by the command beside its listed parameters",
      "type": "array"
    },
    "items": {
      "description": "[{id, anchors}]",
      "items": {
        "additionalProperties": true,
        "properties": {
          "anchors": {},
          "id": {
            "description": "object ID",
            "type": "integer",
            "x-khp-role": "object",
            "x-khp-types": [
              "Node"
            ]
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "mode": {
      "description": "set by default; add: true is mode add",
      "enum": [
        "set",
        "add",
        "toggle",
        "subtract"
      ],
      "type": "string"
    }
  },
  "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).
