---
title: "script.settings.get: Get Script Setting — Motion kit command — Kition"
description: "Reads a script setting (`section`, `key`) from the settings store, as the scripting API's app.settings.getSetting() does. Returns {have, value}."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/script.settings.get"
---

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

# script.settings.get

**Get Script Setting.** Reads a script setting (`section`, `key`) from the settings store, as the scripting API's app.settings.getSetting() does. Returns {have, value}.

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

## Call through motion_run

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

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

## Result



```json
{
  "description": "{have, value} (app.settings.haveSetting / getSetting)"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "key": {
      "type": "string"
    },
    "section": {}
  },
  "returns": "{have, value} (app.settings.haveSetting / getSetting)",
  "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).
