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

# addAnchor(_:)

Adds a world anchor you supply to the set of currently tracked anchors.

```
final func addAnchor(_ worldAnchor: WorldAnchor) async throws
```

## Parameters

`worldAnchor`

A position and orientation in the world you want to track.

---

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)