---
title: parent
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnnode/parent
---

# parent

The node’s parent in the scene graph hierarchy.

## Declaration

```swift
var parent: SCNNode? { get }
```

## Discussion

Discussion For a scene’s rootNode object, the value of this property is nil.

## See Also

### Managing the Node Hierarchy

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