Scene kit command

modal.confirm

Confirm Transform

Ends the transform under way as it is now, as one undo step named after it (none when it changed nothing); with auto-keying on (transform.set's autoKey), the moved objects' keys at the current frame are in that step.

Kit
Scene 0.1.0 (.kscene)
Changes the document
no

Parameters

None.

Call through scene_run

text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "modal.confirm" }]
}

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

Result

Result of modal.confirm
NameTypeRequiredDescription
activebooleanno
confirmedbooleanno
kindstringno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "active": {
      "type": "boolean"
    },
    "confirmed": {
      "type": "boolean"
    },
    "kind": {
      "type": "string"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (scene_commands through @kition/[email protected], built from KitionAI/kition-scene@4d06faf). As data: commands.jsonl.