---
title: "append(contentsOf:preservingWorldTransforms:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/entity/childcollection/append(contentsof:preservingworldtransforms:)-7g61"
---

# append(contentsOf:preservingWorldTransforms:)

Adds the specified list of entity as children to this entity.

## Declaration

```swift
@MainActor @preconcurrency func append<S>(contentsOf sequence: S, preservingWorldTransforms: Bool = false) where S : Sequence, S.Element : Entity
```

## Parameters

- `sequence`: The child entities to add to the collection.
- `preservingWorldTransforms`: true to preserve the world transform. false to preserve the relative transform. (Use true if the entities should keep its effective location and size in the scene!)

## See Also

### Adding entities

- [append(_:preservingWorldTransform:)](realitykit/entity/childcollection/append(_:preservingworldtransform:).md)
- [append(contentsOf:preservingWorldTransforms:)](realitykit/entity/childcollection/append(contentsof:preservingworldtransforms:)-7p4hd.md)
