---
title: "vector.edit.select: Select points — Design kit command — Kition"
description: "Selects points, segments, handles or regions in vector edit mode."
canonical: "https://developer.kition.ai/docs/kits/design/commands/vector.edit.select"
---

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

# vector.edit.select

**Select points.** Selects points, segments, handles or regions in vector edit mode.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `add` | `boolean` | no |  |
| `handles` | `number[][]` | no |  |
| `id` | `integer \| string` | no | an id; an edited layer, made active |
| `regions` | `number[]` | no | [i]; filled regions, with their points |
| `segments` | `number[]` | no | [i] |
| `vertices` | `number[]` | no | [i] |

## Call through design_run

```text
design_run {
  "path": "<file>.kdesign",
  "steps": [{ "command": "vector.edit.select" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `add`, `handles`, `id`, `regions`, `segments`, `vertices`. design_run answers the step’s result in `completed[i].result`.

## Result



```json
{}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "add": {
      "type": "boolean"
    },
    "handles": {
      "items": {
        "description": "[segment, start]",
        "items": {
          "type": "number"
        },
        "type": "array"
      },
      "type": "array"
    },
    "id": {
      "description": "an id; an edited layer, made active",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-types": [
        "Node"
      ]
    },
    "regions": {
      "description": "[i]; filled regions, with their points",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "segments": {
      "description": "[i]",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "vertices": {
      "description": "[i]",
      "items": {
        "type": "number"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/design-darwin-arm64@0.1.0 and the kit itself (design_commands through @kition/cli@0.1.1, built from KitionAI/kition-design@abc7e16).
