Film kit command

mask.select

Select Mask

Selects mask `mask` of `clip`'s `effect` for editing in the Program monitor, or clears it with `none`.

Kit
Film 0.1.0 (.kfilm)
Changes the document
no
Acts on
clip (one id), which a run step’s on fills

Parameters

Parameters of mask.select
NameTypeRequiredDescription
clipintegernoan id; in one of several forms of the parameters
effectintegernoa position counted from 0 (the first is 0); in one of several forms of the parameters
maskintegernoin one of several forms of the parameters
nonebooleannoin one of several forms of the parameters

Call through film_run

text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "mask.select" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: clip, effect, mask, none. 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": {
    "clip": {
      "description": "an id; in one of several forms of the parameters",
      "type": "integer",
      "x-khp-types": [
        "Clip"
      ]
    },
    "effect": {
      "description": "a position counted from 0 (the first is 0); in one of several forms of the parameters",
      "type": "integer"
    },
    "mask": {
      "description": "in one of several forms of the parameters",
      "type": "integer"
    },
    "none": {
      "default": true,
      "description": "in one of several forms of the parameters",
      "type": "boolean"
    }
  },
  "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.