---
title: "roto.options: Rotoscope Brush Options — Motion kit command — Kition"
description: "Sets Rotoscope Brush tool options: brush `diameter` and `refineDiameter` (px), the viewer `view` (alphaBoundary, alpha, alphaOverlay, none), overlay and boundary colours and opacity, and `autoPropagate`. Returns them; the project is unchanged."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/roto.options"
---

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

# roto.options

**Rotoscope Brush Options.** Sets Rotoscope Brush tool options: brush `diameter` and `refineDiameter` (px), the viewer `view` (alphaBoundary, alpha, alphaOverlay, none), overlay and boundary colours and opacity, and `autoPropagate`. Returns them; the project is unchanged.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `autoPropagate` | `boolean` | no |  |
| `boundaryColor` | `number[]` | no | [r, g, b] |
| `diameter` | `number` | no |  |
| `overlayColor` | `number[]` | no | [r, g, b] |
| `overlayOpacity` | `number` | no |  |
| `refineDiameter` | `number` | no |  |
| `view` | `"alphaBoundary" \| "alpha" \| "alphaOverlay" \| "none"` | no |  |

## Call through motion_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `autoPropagate`, `boundaryColor`, `diameter`, `overlayColor`, `overlayOpacity`, `refineDiameter`, `view`. motion_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "autoPropagate": {
      "type": "boolean"
    },
    "boundaryColor": {
      "description": "[r, g, b]",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "diameter": {
      "type": "number"
    },
    "overlayColor": {
      "description": "[r, g, b]",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "overlayOpacity": {
      "type": "number"
    },
    "refineDiameter": {
      "type": "number"
    },
    "view": {
      "enum": [
        "alphaBoundary",
        "alpha",
        "alphaOverlay",
        "none"
      ],
      "type": "string"
    }
  },
  "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).
