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

OwnedBy

OwnedBy(props): Element

Spawns each <Entity> and <Npc> under it owned by entity, as spawn(step, prefab, { owner }) does, so findOwner reads entity for each. Each keeps its scene place in a game played alone too, so a copy spawnPacked puts at that place is taken up by the same component. <Match> renders its children in one, so a court’s net and ball belong to its match.

Parameter Type
props OwnedByProps

Element