Scene kit command

presence.local

Share Presence

Shares this person's pointer and selection with collaborators; answers what it shares.

Kit
Scene 0.1.0 (.kscene)
Changes the document
no

Parameters

Parameters of presence.local
NameTypeRequiredDescription
pointerinteger[]noThe pointer in viewport pixels [x, y]; left out when it left the view

Call through scene_run

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

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

Result

Result of presence.local
NameTypeRequiredDescription
selectionstring[]no
viewportobjectno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "selection": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "viewport": {
      "additionalProperties": true,
      "properties": {},
      "type": "object"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "pointer": {
      "description": "The pointer in viewport pixels [x, y]; left out when it left the view",
      "items": {
        "type": "integer"
      },
      "type": "array"
    }
  },
  "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.