---
title: "addChildNode(_:)"
framework: scenekit
role: symbol
role_heading: Instance Method
path: "scenekit/scnnode/addchildnode(_:)"
---

# addChildNode(_:)

Adds a node to the node’s array of children.

## Declaration

```swift
func addChildNode(_ child: SCNNode)
```

## Parameters

- `child`: The node to be added.

## Discussion

Discussion Calling this method appends the node to the end of the childNodes array.

## See Also

### Managing the Node Hierarchy

- [parent](scenekit/scnnode/parent.md)
- [childNodes](scenekit/scnnode/childnodes.md)
- [insertChildNode(_:at:)](scenekit/scnnode/insertchildnode(_:at:).md)
- [removeFromParentNode()](scenekit/scnnode/removefromparentnode().md)
- [replaceChildNode(_:with:)](scenekit/scnnode/replacechildnode(_:with:).md)
