---
title: "object.pinWarp: Pin Warp — Vector kit command — Kition"
description: "Warps the selected art by moving warp pins from their positions to targets (optionally turning around pins)."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/object.pinWarp"
---

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

# object.pinWarp

**Pin Warp.** Warps the selected art by moving warp pins from their positions to targets (optionally turning around pins).

- Kit: Vector 0.1.0 (.kvector); reference: [Vector kit commands](https://developer.kition.ai/docs/kits/vector.md)
- Changes the document: yes
- Acts on: `ids` (a list of ids), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `angles` | `any[]` | no | same length: the turn the art takes around each pin, as Alt-dragging around a pin does; null leaves it free |
| `bend` | `number` | no | read by the command beside its listed parameters |
| `expand` | `number` | no | points |
| `horizontal` | `number` | no | read by the command beside its listed parameters |
| `id` | `integer` | no | object ID |
| `ids` | `integer[]` | no | object IDs |
| `moved` | `any[]` | no | targets, same length |
| `orientation` | `string` | no | read by the command beside its listed parameters |
| `pins` | `any[]` | no | current pin positions |
| `rest` | `boolean` | no |  |
| `vertical` | `number` | no | read by the command beside its listed parameters |

## Call through vector_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `angles`, `bend`, `expand`, `horizontal`, `id`, `ids`, `moved`, `orientation`, `pins`, `rest`, `vertical`. 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": {
    "angles": {
      "description": "same length: the turn the art takes around each pin, as Alt-dragging around a pin does; null leaves it free",
      "type": "array"
    },
    "bend": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "expand": {
      "description": "points",
      "type": "number"
    },
    "horizontal": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "id": {
      "description": "object ID",
      "type": "integer",
      "x-khp-types": [
        "Node"
      ]
    },
    "ids": {
      "description": "object IDs",
      "items": {
        "type": "integer"
      },
      "type": "array",
      "x-khp-types": [
        "Node"
      ]
    },
    "moved": {
      "description": "targets, same length",
      "type": "array"
    },
    "orientation": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "pins": {
      "description": "current pin positions",
      "type": "array"
    },
    "rest": {
      "type": "boolean"
    },
    "vertical": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    }
  },
  "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).
