Motion kit command

view.panelBackground

Panel Background Color

Frontend-only: changes the viewer panel's background colour (not the comp background; use comp.settings for that). Headless sessions do nothing.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
no

Parameters

Parameters of view.panelBackground
NameTypeRequiredDescription
colorstringnoblack|darkGray|mediumGray|lightGray|white|custom|#hex
pickbooleanno

Call through motion_run

text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "view.panelBackground" }]
}

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

Result

Result of view.panelBackground
NameTypeRequiredDescription
frontendstringno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "frontend": {
      "type": "string"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "color": {
      "description": "black|darkGray|mediumGray|lightGray|white|custom|#hex",
      "type": "string"
    },
    "pick": {
      "default": true,
      "type": "boolean"
    }
  },
  "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.