Schemas / Interaction

rig.interact.selectable

v0.31.0 · draft 1 field 0 required

Fields

FieldTypeMeaning
enabled bool optional Optional. Eligible for selection when true; absent = true

Opt-in selection eligibility. Format when present.

Selection state (is-selected, multi-select index) stays in the host - do not serialize here. Hit-test geometry from transform / shape / mesh - not from this component.

Hosts without this component may still pick entities (legacy). When present, pick must honor enabled.

JSON Schema

Resolves at https://rig.works/schemas/rig.interact.selectable.schema.jsonraw file.

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

Seen in

bim-model.json · cad-boolean.json · lfo-binding.json · minimal-scene.json