---
title: "playback.settings.get: Preview Settings — Motion kit command — Kition"
description: "Returns the preview settings for a preview `shortcut` (spacebar by default): frame rate, skip, resolution, range, loop, audio, and the planned start, end and step for the active comp."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/playback.settings.get"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/playback.settings.get](https://developer.kition.ai/docs/kits/motion/commands/playback.settings.get)

# playback.settings.get

**Preview Settings.** Returns the preview settings for a preview `shortcut` (spacebar by default): frame rate, skip, resolution, range, loop, audio, and the planned start, end and step for the active comp.

- 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 |
| --- | --- | --- | --- |
| `shortcut` | `"spacebar" \| "shiftSpacebar" \| "numpad0" \| "shiftNumpad0" \| "altNumpad0"` | no | default: the one shown in the Preview panel |

## Call through motion_run

```text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "playback.settings.get" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `cacheBeforePlayback` | `boolean` | no |  |
| `current` | `string` | no |  |
| `customResolution` | `integer` | no |  |
| `frameRate` | `any` | no |  |
| `fullScreen` | `boolean` | no |  |
| `includeAudio` | `boolean` | no |  |
| `includeLayerControls` | `boolean` | no |  |
| `includeOverlays` | `boolean` | no |  |
| `includeVideo` | `boolean` | no |  |
| `loop` | `boolean` | no |  |
| `moveTimeToPreviewTime` | `boolean` | no |  |
| `plan` | `object` | no |  |
| `playCachedFrames` | `boolean` | no |  |
| `playFrom` | `string` | no |  |
| `postRoll` | `number` | no |  |
| `preRoll` | `number` | no |  |
| `range` | `string` | no |  |
| `resolution` | `string` | no |  |
| `shortcut` | `string` | no |  |
| `skip` | `integer` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "cacheBeforePlayback": {
      "type": "boolean"
    },
    "current": {
      "type": "string"
    },
    "customResolution": {
      "type": "integer"
    },
    "frameRate": {},
    "fullScreen": {
      "type": "boolean"
    },
    "includeAudio": {
      "type": "boolean"
    },
    "includeLayerControls": {
      "type": "boolean"
    },
    "includeOverlays": {
      "type": "boolean"
    },
    "includeVideo": {
      "type": "boolean"
    },
    "loop": {
      "type": "boolean"
    },
    "moveTimeToPreviewTime": {
      "type": "boolean"
    },
    "plan": {
      "additionalProperties": true,
      "properties": {
        "end": {
          "type": "integer"
        },
        "first": {
          "type": "integer"
        },
        "fps": {
          "type": "number"
        },
        "start": {
          "type": "integer"
        },
        "step": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "playCachedFrames": {
      "type": "boolean"
    },
    "playFrom": {
      "type": "string"
    },
    "postRoll": {
      "type": "number"
    },
    "preRoll": {
      "type": "number"
    },
    "range": {
      "type": "string"
    },
    "resolution": {
      "type": "string"
    },
    "shortcut": {
      "type": "string"
    },
    "skip": {
      "type": "integer"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "shortcut": {
      "description": "default: the one shown in the Preview panel",
      "enum": [
        "spacebar",
        "shiftSpacebar",
        "numpad0",
        "shiftNumpad0",
        "altNumpad0"
      ],
      "type": "string"
    }
  },
  "returns": "options + plan {start, end, first, step, fps}",
  "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).
