---
title: "paint.brush: Brush Settings — Scene kit command — Kition"
description: "Sets the weight paint brush (mode, weight, radius, strength, falloff, front faces only) and X mirror (`xMirror`, `topologyMirror`, `mirrorGroups`); answers them."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/paint.brush"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/scene/commands/paint.brush](https://developer.kition.ai/docs/kits/scene/commands/paint.brush)

# paint.brush

**Brush Settings.** Sets the weight paint brush (mode, weight, radius, strength, falloff, front faces only) and X mirror (`xMirror`, `topologyMirror`, `mirrorGroups`); answers them.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `falloff` | `"smooth" \| "sphere" \| "root" \| "sharp" \| "linear" \| "constant"` | no | How the brush fades to its edge |
| `frontFacesOnly` | `boolean` | no | Only vertices facing the view |
| `mirrorGroups` | `boolean` | no | X mirror paints in the group of the mirrored name, Arm.L and Arm.R (true) |
| `mode` | `"draw" \| "add" \| "subtract" \| "blur"` | no | What a stroke does |
| `radius` | `number` | no | Radius in pixels (50) |
| `strength` | `number` | no | How much one dab changes, 0 to 1 (1) |
| `topologyMirror` | `boolean` | no | X mirror finds that vertex by the edges, for sides that differ in shape (false) |
| `weight` | `number` | no | The weight painted, 0 to 1 (1) |
| `xMirror` | `boolean` | no | Paint the vertex across X = 0 too (false) |

## Call through scene_run

```text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "paint.brush" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `falloff`, `frontFacesOnly`, `mirrorGroups`, `mode`, `radius`, `strength`, `topologyMirror`, `weight`, `xMirror`. scene_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `falloff` | `string` | no |  |
| `frontFacesOnly` | `boolean` | no |  |
| `mirrorGroups` | `boolean` | no |  |
| `mode` | `string` | no |  |
| `radius` | `number` | no |  |
| `strength` | `number` | no |  |
| `topologyMirror` | `boolean` | no |  |
| `weight` | `number` | no |  |
| `xMirror` | `boolean` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "falloff": {
      "type": "string"
    },
    "frontFacesOnly": {
      "type": "boolean"
    },
    "mirrorGroups": {
      "type": "boolean"
    },
    "mode": {
      "type": "string"
    },
    "radius": {
      "type": "number"
    },
    "strength": {
      "type": "number"
    },
    "topologyMirror": {
      "type": "boolean"
    },
    "weight": {
      "type": "number"
    },
    "xMirror": {
      "type": "boolean"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "falloff": {
      "description": "How the brush fades to its edge",
      "enum": [
        "smooth",
        "sphere",
        "root",
        "sharp",
        "linear",
        "constant"
      ],
      "type": "string"
    },
    "frontFacesOnly": {
      "description": "Only vertices facing the view",
      "type": "boolean"
    },
    "mirrorGroups": {
      "description": "X mirror paints in the group of the mirrored name, Arm.L and Arm.R (true)",
      "type": "boolean"
    },
    "mode": {
      "description": "What a stroke does",
      "enum": [
        "draw",
        "add",
        "subtract",
        "blur"
      ],
      "type": "string"
    },
    "radius": {
      "description": "Radius in pixels (50)",
      "type": "number"
    },
    "strength": {
      "description": "How much one dab changes, 0 to 1 (1)",
      "type": "number"
    },
    "topologyMirror": {
      "description": "X mirror finds that vertex by the edges, for sides that differ in shape (false)",
      "type": "boolean"
    },
    "weight": {
      "description": "The weight painted, 0 to 1 (1)",
      "type": "number"
    },
    "xMirror": {
      "description": "Paint the vertex across X = 0 too (false)",
      "type": "boolean"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/scene-darwin-arm64@0.1.0 and the kit itself (scene_commands through @kition/cli@0.1.1, built from KitionAI/kition-scene@4d06faf).
