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

Entity

Entity(props): Element | null

A thing in the world: one koota entity, alive as long as this is mounted, that the children read through useEntity. The children mount once the entity exists and unmount on the commit after it dies. On a client in a room it spawns nothing: the room spawned it from the same scene, and this binds to the entity the room streams at its place.

Parameter Type
props EntityProps

Element | null