Motion kit command
window.panel
Show Panel
Frontend-only: shows or focuses an editor panel. Headless sessions accept it and do nothing.
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
panel | "project" | "effectControls" | "composition" | "layer" | "timeline" | "info" | "audio" | "preview" | "effectsPresets" | "properties" | "character" | "paragraph" | "align" | "tracker" | "wiggler" | "smoother" | "motionSketch" | "paint" | "brushes" | "renderQueue" | "flowchart" | "history" | "markers" | "tools" | "scopes" | "footage" | "mediaBrowser" | "metadata" | "progress" | "contentAwareFill" | "createNullsFromPaths" | "vrCompEditor" | no | |
redo | integer | no | read by the command beside its listed parameters |
steps | integer | no | read by the command beside its listed parameters |
Call through motion_run
text
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "window.panel" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: panel, redo, steps. motion_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
frontend | string | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"frontend": {
"type": "string"
}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"panel": {
"enum": [
"project",
"effectControls",
"composition",
"layer",
"timeline",
"info",
"audio",
"preview",
"effectsPresets",
"properties",
"character",
"paragraph",
"align",
"tracker",
"wiggler",
"smoother",
"motionSketch",
"paint",
"brushes",
"renderQueue",
"flowchart",
"history",
"markers",
"tools",
"scopes",
"footage",
"mediaBrowser",
"metadata",
"progress",
"contentAwareFill",
"createNullsFromPaths",
"vrCompEditor"
],
"type": "string"
},
"redo": {
"description": "read by the command beside its listed parameters",
"type": "integer"
},
"steps": {
"description": "read by the command beside its listed parameters",
"type": "integer"
}
},
"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.