<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKView/presentScene(_:transition:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKView(im)presentScene:transition:"
  },
  "title" : "presentScene(_:transition:)"
}
-->

# presentScene(_:transition:)

Transitions from the current scene to a new scene.

```
func presentScene(_ scene: SKScene, transition: SKTransition)
```

## Parameters

`scene`

The scene to present.

`transition`

A transition used to animate between the two scenes.

## Discussion

If there is currently a scene presented by the view, the view’s [`scene`](/documentation/SpriteKit/SKView/scene) property is updated immediately, the transition is executed to swap between the scenes. Otherwise, the new scene is presented immediately and the transition property is ignored.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)