Skip to content
Konjure / spatial intelligence
Browse docs

Parent

← Builtin reference

A local scene-graph relationship.

Signature

type Parent { entity: Entity; }

The referenced entity is retained as a group when it has no geometry, so authored hierarchy is never discarded. Parent transforms are composed by the SDK after the adapter has validated the language entity reference.

Fields

entity: Entity
The parent Entity. The spatial adapter rejects a missing target; the SDK rejects self-parenting, cycles, and excessive depth.

Examples

Parent a visible child

Transforms remain local to the parent entity.

More
Tick 0 · 0.00 s
main.kj⌘ / Ctrl + Enter
Loading…Drag to orbit · select to inspect
0 entities
Results
Loading the language runtime…
Output 0
No output.
Expected output
entity(1)

Rust definition

Interpreter Entity reference resolved to an SDK Entity.parent by the spatial adapter.

See also