---
title: "append(_:preservingWorldTransform:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/entity/childcollection/append(_:preservingworldtransform:)"
---

# append(_:preservingWorldTransform:)

Adds the specified entity as a child to this entity.

## Declaration

```swift
@MainActor @preconcurrency func append(_ child: Entity, preservingWorldTransform: Bool = false)
```

## Parameters

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

## See Also

### Adding entities

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