Motion kit command
footage.overlayEdit
Overlay Edit
Places footage `item` (its In–Out range from the Footage panel or `in`/`out` seconds) as a new layer in `comp` at `at` (default now), on top, overlapping what's there. Use footage.rippleInsertEdit to push later layers instead.
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
at | number | no | comp s; default the current time |
comp | integer | string | no | |
in | number | no | (s) |
item | integer | no | |
layer | integer | string | no | read by the command beside its listed parameters |
out | number | no | (s) |
tracker | integer | string | no | read by the command beside its listed parameters |
Call through motion_run
text
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "footage.overlayEdit" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: at, comp, in, item, layer, out, tracker. 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": {
"at": {
"description": "comp s; default the current time",
"type": "number"
},
"comp": {
"oneOf": [
{
"description": "comp's item id as motion_inspect lists it",
"type": "integer"
},
{
"description": "the item id as receipts print it (\"1\"), or the comp's name",
"type": "string"
}
],
"x-khp-name": "name",
"x-khp-types": [
"Item"
]
},
"in": {
"description": "(s)",
"type": "number"
},
"item": {
"type": "integer",
"x-khp-name": "name",
"x-khp-types": [
"Item"
]
},
"layer": {
"description": "read by the command beside its listed parameters",
"oneOf": [
{
"description": "layer id as motion_inspect lists it (when no layer has that id, its 1-based stack position)",
"type": "integer"
},
{
"description": "layer id as receipts print it (\"51\"), a layer name, or #n for the n-th from the top",
"type": "string"
}
],
"x-khp-name": "name",
"x-khp-types": [
"Layer"
]
},
"out": {
"description": "(s)",
"type": "number"
},
"tracker": {
"description": "read by the command beside its listed parameters",
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
},
"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.