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

# maximumNumberOfTrackedFaces

The number of faces to track during the session.

```
var maximumNumberOfTrackedFaces: Int { get set }
```

## Discussion

The default value is one. Set the maximum number of tracked faces to limit the number of faces that can be tracked in a given frame. Check the value of [`supportedNumberOfTrackedFaces`](/documentation/ARKit/ARFaceTrackingConfiguration/supportedNumberOfTrackedFaces) before setting this property.

No new anchors will be provided to your delegate’s [`session(_:didAdd:)`](/documentation/ARKit/ARSessionDelegate/session(_:didAdd:)) if more than the maximum number of faces are visible in the camera feed. In that case, ARKit continues to track the faces that already have associated face anchors.

---

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)