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

# detectedBody

The screen position information of a body that ARKit recognizes in the camera image.

```
var detectedBody: ARBody2D? { get }
```

## Discussion

To enable 2D body detection, you add the [`bodyDetection`](/documentation/ARKit/ARConfiguration/FrameSemantics-swift.struct/bodyDetection) frame semantic to your configuration’s [`frameSemantics`](/documentation/ARKit/ARConfiguration/frameSemantics-swift.property) property, or run your session with an [`ARBodyTrackingConfiguration`](/documentation/ARKit/ARBodyTrackingConfiguration), in which body detection is enabled by default.

---

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)