<!--
{
  "availability" : [
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ObjectAnchor",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit12ObjectAnchorV"
  },
  "title" : "ObjectAnchor"
}
-->

# ObjectAnchor

A reference object ARKit is tracking.

```
struct ObjectAnchor
```

## Overview

You use object anchors to learn about the position and orientation of a real-world object.

## Topics

### Inspecting an object anchor

[`boundingBox`](/documentation/ARKit/ObjectAnchor/boundingBox)

The bounding box of an anchor.

[`ObjectAnchor.AxisAlignedBoundingBox`](/documentation/ARKit/ObjectAnchor/AxisAlignedBoundingBox)

Values that describe an axis-aligned bounding box.

[`description`](/documentation/ARKit/ObjectAnchor/description)

A textual representation of this anchor.

[`isTracked`](/documentation/ARKit/ObjectAnchor/isTracked)

A Boolean value that indicates whether the framework is currently tracking an object anchor.

[`originFromAnchorTransform`](/documentation/ARKit/ObjectAnchor/originFromAnchorTransform)

The transform from the object anchor to the origin coordinate system.

[`referenceObject`](/documentation/ARKit/ObjectAnchor/referenceObject)

The reference object that an anchor corresponds to.

[`inputFile`](/documentation/ARKit/ReferenceObject/inputFile)

The input file the framework uses for loading a reference object.

[`usdzFile`](/documentation/ARKit/ReferenceObject/usdzFile)

The trained USDZ file, if the reference object includes one.

[`ReferenceObject`](/documentation/ARKit/ReferenceObject)

An object the framework can track.

### Inspecting and comparing anchors

[`id`](/documentation/ARKit/ObjectAnchor/id-swift.property)

The unique identifier of this anchor.

[`ObjectAnchor.ID`](/documentation/ARKit/ObjectAnchor/ID-swift.typealias)

A type representing the stable identity of the entity associated with
an instance.



---

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)