---
title: "view.snappingOptions: Snapping Options — Motion kit command — Kition"
description: "Tools bar ▸ Snapping options: sets the options passed (`toggle` flips one by key)."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/view.snappingOptions"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/view.snappingOptions](https://developer.kition.ai/docs/kits/motion/commands/view.snappingOptions)

# view.snappingOptions

**Snapping Options.** Tools bar ▸ Snapping options: sets the options passed (`toggle` flips one by key).

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `collapsedFeatures` | `any` | no | (Snap to Features in Collapsed Compositions and Text Layers): bool |
| `edgesExtended` | `any` | no | Snap Edges Extended |
| `toggle` | `string` | no | one of those keys |

## Call through motion_run

```text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "view.snappingOptions" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `collapsedFeatures` | `boolean` | no |  |
| `edgesExtended` | `boolean` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "collapsedFeatures": {
      "type": "boolean"
    },
    "edgesExtended": {
      "type": "boolean"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "collapsedFeatures": {
      "description": "(Snap to Features in Collapsed Compositions and Text Layers): bool"
    },
    "edgesExtended": {
      "description": "Snap Edges Extended"
    },
    "toggle": {
      "description": "one of those keys",
      "type": "string"
    }
  },
  "returns": "the options",
  "type": "object"
}
```

Generated from the command list of @kition/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
