Motion kit command
view.snappingOptions
Snapping Options
Tools bar ▸ Snapping options: sets the options passed (`toggle` flips one by key).
- Kit
- Motion 0.1.0 (.kmotion)
- 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 |
Result JSON Schema
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/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.