---
title: ARBodyTrackingConfiguration
framework: arkit
role: symbol
role_heading: Class
path: arkit/arbodytrackingconfiguration
---

# ARBodyTrackingConfiguration

A configuration that tracks human body poses, planar surfaces, and images using the rear-facing camera.

## Declaration

```swift
class ARBodyTrackingConfiguration
```

## Overview

Overview When ARKit identifies a person in the rear camera’s feed, it calls session(_:didAdd:), passing an ARBodyAnchor you can use to track the body’s movement. When you enable plane detection and image detection, you can use a body anchor to display a virtual character and set the character on a surface or image that you choose. By default, frameSemantics includes bodyDetection, which gives you access to the joint positions of a person that ARKit detects in the camera feed via the frame’s detectedBody.

## Topics

### Creating a Configuration

- [init()](arkit/arbodytrackingconfiguration/init().md)
- [initialWorldMap](arkit/arbodytrackingconfiguration/initialworldmap.md)

### Estimating Body Scale

- [automaticSkeletonScaleEstimationEnabled](arkit/arbodytrackingconfiguration/automaticskeletonscaleestimationenabled.md)

### Enabling Auto Focus

- [isAutoFocusEnabled](arkit/arbodytrackingconfiguration/isautofocusenabled.md)

### Enabling Plane Detection

- [planeDetection](arkit/arbodytrackingconfiguration/planedetection.md)
- [ARWorldTrackingConfiguration.PlaneDetection](arkit/arworldtrackingconfiguration/planedetection-swift.struct.md)

### Enabling Image Tracking

- [automaticImageScaleEstimationEnabled](arkit/arbodytrackingconfiguration/automaticimagescaleestimationenabled.md)
- [detectionImages](arkit/arbodytrackingconfiguration/detectionimages.md)
- [maximumNumberOfTrackedImages](arkit/arbodytrackingconfiguration/maximumnumberoftrackedimages.md)

### Adding Realistic Reflections

- [wantsHDREnvironmentTextures](arkit/arbodytrackingconfiguration/wantshdrenvironmenttextures.md)
- [environmentTexturing](arkit/arbodytrackingconfiguration/environmenttexturing.md)

### Accessing App Clip Codes

- [Interacting with App Clip Codes in AR](appclip/interacting-with-app-clip-codes-in-ar.md)
- [supportsAppClipCodeTracking](arkit/arbodytrackingconfiguration/supportsappclipcodetracking.md)
- [appClipCodeTrackingEnabled](arkit/arbodytrackingconfiguration/appclipcodetrackingenabled.md)
- [ARAppClipCodeAnchor](arkit/arappclipcodeanchor.md)

## Relationships

### Inherits From

- [ARConfiguration](arkit/arconfiguration.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Body and Face Tracking

- [ARFaceTrackingConfiguration](arkit/arfacetrackingconfiguration.md)
