---
title: "removeChild(_:)"
framework: usdkit
role: symbol
role_heading: Instance Method
path: "usdkit/usdprim/spec/removechild(_:)"
---

# removeChild(_:)

Removes child from the children list. No-op if child is not a child of this spec.

## Declaration

```swift
func removeChild(_ child: USDPrim.Spec)
```

## Parameters

- `child`: The child prim spec to remove.
