<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/WorldTrackingProvider/removeAllAnchors()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit21WorldTrackingProviderC16removeAllAnchorsyyYaKF"
  },
  "title" : "removeAllAnchors()"
}
-->

# removeAllAnchors()

Removes all known world anchors from world tracking.

```
final func removeAllAnchors() async throws
```

## Discussion> Throws: `WorldTrackingProvider.Error`

---

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)