<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNSceneSourceStatusHandler",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:@T@SCNSceneSourceStatusHandler"
  },
  "title" : "SCNSceneSourceStatusHandler"
}
-->

# SCNSceneSourceStatusHandler

The signature for the block that SceneKit calls periodically to report progress while loading a scene.

```
typealias SCNSceneSourceStatusHandler = (Float, SCNSceneSourceStatus, (any Error)?, UnsafeMutablePointer<ObjCBool>) -> Void
```

## Discussion

You provide a block with this signature when using the [`scene(options:statusHandler:)`](/documentation/SceneKit/SCNSceneSource/scene(options:statusHandler:)) method.

The block takes four parameters:

- totalProgress: A floating-point number between `0.0` and `1.0` indicating the overall progress of loading the scene. A value of `0.0` indicates that the loading process has just begun, and a value of `1.0` indicates that the process has completed.
- status: A constant identifying one of the distinct phases of SceneKit’s loading procedure. See [`SCNSceneSourceStatus`](/documentation/SceneKit/SCNSceneSourceStatus) for possible values.
- error: An error object describing any error that has occurred during scene loading, or `nil` if no errors has been encountered.
- stopLoading: A reference to a Boolean value. Set `*stop` to <doc://com.apple.documentation/documentation/Swift/true> within the block to abort further processing of the scene source’s contents.

---

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)