Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

EntityDescription

One entity’s context bundle, for the agent that cannot look.

Property Type Description
ai? AiNode Its node in the AI tree, for the player; none where the entity is gone.
behaviours DevtoolsNode[] -
node? DevtoolsNode Its row; none for an entity with no row, such as one a system spawns, which leaves its behaviours and relations empty.
panel? Record<string, PanelReadout> The values of the panel its component declared through useDevtoolsPanel, by key; none where it declared none.
placement? PlacementDescription A scattered instance’s placement, in place of an entity’s traits; none where its ground or its batch is gone.
plugins? readonly ComposedPlugin[] The plugins its world was made from, from dump() beside its traits: what its traits may wait on. None for an instance.
relations Relation[] -
screenRect? ScreenRect Where it stands on the canvas, for a playtest that clicks it; none where nothing draws or it is behind the camera.
screenshot? string A PNG data URL framed on the entity; none where nothing draws.
systems SystemEntry[] The blocks of the step and the frame that touch it, in loop order.
traits? Record<string, unknown> The entity’s traits from dump().