---
title: "add(anchor:)"
framework: arkit
role: symbol
role_heading: Instance Method
path: "arkit/arsession/add(anchor:)"
---

# add(anchor:)

Adds the specified anchor to be tracked by the session.

## Declaration

```swift
func add(anchor: ARAnchor)
```

## Parameters

- `anchor`: The anchor to add.

## Discussion

Discussion Changes to anchor tracking take effect when the next frame is captured.

## See Also

### Managing anchors

- [remove(anchor:)](arkit/arsession/remove(anchor:).md)
