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

# scene

The scene node that contains this node.

## Declaration

```swift
var scene: SKScene? { get }
```

## Mentioned in

Accessing and Modifying the Node Tree

## Discussion

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

## See Also

### Accessing Related Nodes

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