# Make BulbEntity a child of PoleEntity. # AddEntities takes an array, so wrap a single child in array{...}. PoleEntity.AddEntities(array{BulbEntity}) # Detach an entity from its parent (removes it from the scene). BulbEntity.RemoveFromParent()