Get all entities that have the given entity as their parent
An array of entities that have the given parent
Example:
const children = getEntitiesWithParent(engine, myEntity)for (const child of children) { // process each child entity}
the engine running the entities
the parent entity to find children for
Get all entities that have the given entity as their parent
Returns
An array of entities that have the given parent
Example: