---
title: removeChildren()
framework: phase
role: symbol
role_heading: Instance Method
path: phase/phaseobject/removechildren()
---

# removeChildren()

Removes all child objects from the given object.

## Declaration

```swift
func removeChildren()
```

## Discussion

Discussion This function removes all members from the children array.

## See Also

### Managing the Hierarchy

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