---
title: "removeChild(_:)"
framework: phase
role: symbol
role_heading: Instance Method
path: "phase/phaseobject/removechild(_:)"
---

# removeChild(_:)

Removes the given object as a child.

## Declaration

```swift
func removeChild(_ child: PHASEObject)
```

## Parameters

- `child`: The object to remove from the doc://com.apple.phase/documentation/PHASE/PHASEObject/children array.

## See Also

### Managing the Hierarchy

- [children](phase/phaseobject/children.md)
- [parent](phase/phaseobject/parent.md)
- [addChild(_:)](phase/phaseobject/addchild(_:).md)
- [removeChildren()](phase/phaseobject/removechildren().md)
