Film kit command
project.freeform.move
Move Clip Cards
Moves Freeform clip cards: the listed or selected `items` to (`x`, `y`), or per-item positions; `snap` aligns to the grid. Undoable.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- yes
- Acts on
items(a list of ids), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
items | integer[] | no | in one of several forms of the parameters |
positions | object | no | in one of several forms of the parameters |
snap | boolean | no | in one of several forms of the parameters |
width | number | no | in one of several forms of the parameters |
x | number | no | in one of several forms of the parameters |
y | number | no | in one of several forms of the parameters |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "project.freeform.move" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: items, positions, snap, width, x, y. film_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": {
"items": {
"description": "in one of several forms of the parameters",
"items": {
"description": "an id",
"type": "integer"
},
"type": "array",
"x-khp-types": [
"Item"
]
},
"positions": {
"additionalProperties": true,
"description": "in one of several forms of the parameters",
"type": "object"
},
"snap": {
"description": "in one of several forms of the parameters",
"type": "boolean"
},
"width": {
"description": "in one of several forms of the parameters",
"type": "number"
},
"x": {
"description": "in one of several forms of the parameters",
"type": "number"
},
"y": {
"description": "in one of several forms of the parameters",
"type": "number"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.