<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARFrame/sceneDepth",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARFrame(py)sceneDepth"
  },
  "title" : "sceneDepth"
}
-->

# sceneDepth

Data on the distance between a device’s rear camera and real-world objects in an AR experience.

```
var sceneDepth: ARDepthData? { get }
```

## Discussion

This property describes the distance between a device’s camera and objects or areas in the real world, including ARKit’s confidence in the estimated distance.

This property is `nil` by default. Add the [`sceneDepth`](/documentation/ARKit/ARConfiguration/FrameSemantics-swift.struct/sceneDepth) frame semantic to your configuration’s [`frameSemantics`](/documentation/ARKit/ARConfiguration/frameSemantics-swift.property) to instruct the framework to populate this value with [`ARDepthData`](/documentation/ARKit/ARDepthData) captured by the LiDAR scanner.

Call [`supportsFrameSemantics(_:)`](/documentation/ARKit/ARConfiguration/supportsFrameSemantics(_:)) on your app’s configuration to support scene depth on select devices and configurations.

---

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)