Schemas / Interaction

rig.interact.selected

v1.0.0 · stable maturity: draft 1 field 0 required

Fields

FieldTypeMeaning
order int optional Optional. Index in a multi-selection; absent = 0

Selection snapshot. Format when present. Presence means the entity is selected.

Eligibility is rig.interact.selectable. Hover and the press that produced this selection stay in the host. An editor that does not save selection omits this component.

JSON Schema

Resolves at https://rig.works/schemas/rig.interact.selected.schema.json — raw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.interact.selected.schema.json",
  "title": "rig.interact.selected",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "order": {
      "$ref": "./_defs.schema.json#/$defs/int"
    }
  },
  "minProperties": 0,
  "x-rig-maturity": "draft"
}

Seen in

play-scene.json