---
title: view
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/skscene/view
---

# view

The view that is currently presenting the scene.

## Declaration

```swift
weak var view: SKView? { get }
```

## Discussion

Discussion To present a scene, you call the presentScene(_:) method or presentScene(_:transition:) method on the SKView class. If the scene is not currently presented, this property holds nil.

## See Also

### Setting the Background Appearance

- [Creating a Scene with a Transparent Background](spritekit/creating-a-scene-with-a-transparent-background.md)
- [backgroundColor](spritekit/skscene/backgroundcolor.md)
