---
title: parent
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/sknode/parent
---

# parent

The node’s parent node.

## Declaration

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

## Mentioned in

Accessing and Modifying the Node Tree

## Discussion

Discussion If the node is not in a node tree, the value is nil.

## See Also

### Accessing Related Nodes

- [About SpriteKit Coordinate Systems](spritekit/about-spritekit-coordinate-systems.md)
- [scene](spritekit/sknode/scene.md)
- [children](spritekit/sknode/children.md)
