---
title: "prefs.get: Get Preferences — Vector kit command — Kition"
description: "Answers one preference's value (or group), or all preferences."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/prefs.get"
---

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

# prefs.get

**Get Preferences.** Answers one preference's value (or group), or all preferences.

- 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 |
| --- | --- | --- | --- |
| `key` | `string` | no |  |

## Call through vector_run

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

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `prefs` | `object` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "prefs": {
      "additionalProperties": true,
      "properties": {
        "aicbMode": {
          "type": "string"
        },
        "alignmentGuides": {
          "type": "boolean"
        },
        "anchorPathLabels": {
          "type": "boolean"
        },
        "anchorSize": {
          "type": "number"
        },
        "animatedZoom": {
          "type": "boolean"
        },
        "antiAliasedArtwork": {
          "type": "boolean"
        },
        "antiAliasedBitmaps": {
          "type": "boolean"
        },
        "autoCollapseIconPanels": {
          "type": "boolean"
        },
        "autoSizeAreaType": {
          "type": "boolean"
        },
        "autosaveInterval": {
          "type": "number"
        },
        "autosaveRecovery": {
          "type": "boolean"
        },
        "backgroundExport": {
          "type": "boolean"
        },
        "backgroundSave": {
          "type": "boolean"
        },
        "baselineShiftIncrement": {
          "type": "number"
        },
        "blackOnScreen": {
          "type": "string"
        },
        "blackOutput": {
          "type": "string"
        },
        "canvasColor": {
          "type": "string"
        },
        "constrainAngle": {
          "type": "number"
        },
        "constrainProportions": {
          "type": "boolean"
        },
        "constructionAngles": {
          "type": "string"
        },
        "constructionGuides": {
          "type": "boolean"
        },
        "copyAicb": {
          "type": "boolean"
        },
        "copyAsPdf": {
          "type": "boolean"
        },
        "copyAsSvg": {
          "type": "boolean"
        },
        "cornerRadius": {
          "type": "number"
        },
        "ctrlClickSelectsBehind": {
          "type": "boolean"
        },
        "curvatureRubberBand": {
          "type": "boolean"
        },
        "disableAutoAddDelete": {
          "type": "boolean"
        },
        "displayPrintSize": {
          "type": "boolean"
        },
        "doubleClickToIsolate": {
          "type": "boolean"
        },
        "eyedropper": {
          "additionalProperties": true,
          "properties": {
            "apply": {
              "additionalProperties": true,
              "type": "object"
            },
            "pickUp": {
              "additionalProperties": true,
              "type": "object"
            },
            "sampleSize": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "fontNamesInEnglish": {
          "type": "boolean"
        },
        "fontPreview": {
          "type": "boolean"
        },
        "fontPreviewSize": {
          "type": "string"
        },
        "fontsFolder": {
          "type": "string"
        },
        "gpuPerformance": {
          "type": "boolean"
        },
        "gpuPreference": {
          "type": "string"
        },
        "gridColor": {
          "type": "string"
        },
        "gridStyle": {
          "type": "string"
        },
        "gridSubdivisions": {
          "type": "number"
        },
        "gridlineEvery": {
          "type": "number"
        },
        "gridsInBack": {
          "type": "boolean"
        },
        "guideColor": {
          "type": "string"
        },
        "guideStyle": {
          "type": "string"
        },
        "handleStyle": {
          "type": "string"
        },
        "hideCornerWidgetAbove": {
          "type": "number"
        },
        "highlightAlternateGlyphs": {
          "type": "boolean"
        },
        "highlightAnchorsOnHover": {
          "type": "boolean"
        },
        "historyStates": {
          "type": "number"
        },
        "hyphenationExceptions": {
          "type": "string"
        },
        "hyphenationLanguage": {
          "type": "string"
        },
        "identifyObjectsBy": {
          "type": "string"
        },
        "interfaceLanguage": {
          "type": "string"
        },
        "japaneseCropMarks": {
          "type": "boolean"
        },
        "keyboardIncrement": {
          "type": "number"
        },
        "largeTabs": {
          "type": "boolean"
        },
        "lowResProxyEps": {
          "type": "boolean"
        },
        "measurementLabels": {
          "type": "boolean"
        },
        "missingGlyphProtection": {
          "type": "boolean"
        },
        "moveLockedWithArtboard": {
          "type": "boolean"
        },
        "newArtBasic": {
          "type": "boolean"
        },
        "numbersWithoutUnitsArePoints": {
          "type": "boolean"
        },
        "objectHighlighting": {
          "type": "boolean"
        },
        "objectSelectionByPathOnly": {
          "type": "boolean"
        },
        "openDocumentsAsTabs": {
          "type": "boolean"
        },
        "overrideCharColor": {
          "type": "boolean"
        },
        "pasteOffset": {
          "type": "number"
        },
        "pasteTextFormatting": {
          "type": "string"
        },
        "patternTileEdgeColor": {
          "type": "string"
        },
        "penRubberBand": {
          "type": "boolean"
        },
        "perspectiveWidget": {
          "additionalProperties": true,
          "properties": {
            "position": {
              "type": "string"
            },
            "show": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "placeholderText": {
          "type": "boolean"
        },
        "pluginsFolder": {
          "type": "string"
        },
        "realTimeDrawing": {
          "type": "boolean"
        },
        "recentFilesCount": {
          "type": "number"
        },
        "recentFontsCount": {
          "type": "number"
        },
        "recoveryFolder": {
          "type": "string"
        },
        "recoveryOffForComplex": {
          "type": "boolean"
        },
        "renderThreads": {
          "type": "number"
        },
        "scaleCorners": {
          "type": "boolean"
        },
        "scaleCursorWithUi": {
          "type": "boolean"
        },
        "scaleStrokes": {
          "type": "boolean"
        },
        "scratchPrimary": {
          "type": "string"
        },
        "scratchSecondary": {
          "type": "string"
        },
        "scrubNumericFields": {
          "type": "boolean"
        },
        "selectSameTintPercent": {
          "type": "boolean"
        },
        "selectionTolerance": {
          "type": "number"
        },
        "showEastAsianOptions": {
          "type": "boolean"
        },
        "showHandlesMultipleAnchors": {
          "type": "boolean"
        },
        "showHomeScreen": {
          "type": "boolean"
        },
        "showIndicOptions": {
          "type": "boolean"
        },
        "showPixelGrid": {
          "type": "boolean"
        },
        "showSliceNumbers": {
          "type": "boolean"
        },
        "showToolTips": {
          "type": "boolean"
        },
        "sliceLineColor": {
          "type": "string"
        },
        "smartGuideColor": {
          "type": "string"
        },
        "snapToPointTolerance": {
          "type": "number"
        },
        "snappingTolerance": {
          "type": "number"
        },
        "spacingGuides": {
          "type": "boolean"
        },
        "systemTitleBar": {
          "type": "boolean"
        },
        "templatesFolder": {
          "type": "string"
        },
        "toolGroupLabels": {
          "type": "boolean"
        },
        "touchGestures": {
          "type": "boolean"
        },
        "touchWorkspace": {
          "type": "boolean"
        },
        "trackingIncrement": {
          "type": "number"
        },
        "transformPatternTiles": {
          "type": "boolean"
        },
        "transformToolsGuides": {
          "type": "boolean"
        },
        "typeSelectionByPathOnly": {
          "type": "boolean"
        },
        "typeSizeIncrement": {
          "type": "number"
        },
        "uiBrightness": {
          "type": "string"
        },
        "uiScaling": {
          "type": "number"
        },
        "unitsAsianType": {
          "type": "string"
        },
        "unitsGeneral": {
          "type": "string"
        },
        "unitsStroke": {
          "type": "string"
        },
        "unitsType": {
          "type": "string"
        },
        "updateLinks": {
          "type": "string"
        },
        "useCompression": {
          "type": "boolean"
        },
        "usePreciseCursors": {
          "type": "boolean"
        },
        "usePreviewBounds": {
          "type": "boolean"
        },
        "zoomToSelection": {
          "type": "boolean"
        },
        "zoomWithMouseWheel": {
          "type": "boolean"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "key": {
      "type": "string"
    }
  },
  "returns": "the value of one preference (or preference group: eyedropper), or {prefs: {…all…}}",
  "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).
