<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARConfiguration/FrameSemantics-swift.struct/bodyDetection",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:@E@ARFrameSemantics@ARFrameSemanticBodyDetection"
  },
  "title" : "bodyDetection"
}
-->

# bodyDetection

An option that indicates that 2D body detection is enabled.

```
static var bodyDetection: ARConfiguration.FrameSemantics { get }
```

## Discussion

When you set this option in your configuration’s [`frameSemantics`](/documentation/ARKit/ARConfiguration/frameSemantics-swift.property) property, ARKit describes the joint positions of a body it detects in the camera image, using normalized coordinates. See [`detectedBody`](/documentation/ARKit/ARFrame/detectedBody) for more information.

---

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)