Skip to content

Parent

const Parent: BuiltinComponentDef<ParentData>

Defined in: ecs/component.ts:965

An entity’s parent. The engine keeps this and Children in step, so set the relationship through world.setParent rather than by writing either side; a transform composes against whatever this names.