<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARObjectAnchor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARObjectAnchor"
  },
  "title" : "ARObjectAnchor"
}
-->

# ARObjectAnchor

An anchor for a real-world 3D object that ARKit detects in the physical environment.

```
class ARObjectAnchor
```

## Overview

When you run a world-tracking AR session and specify [`ARReferenceObject`](/documentation/ARKit/ARReferenceObject) objects for the session configuration’s [`detectionObjects`](/documentation/ARKit/ARWorldTrackingConfiguration/detectionObjects) property, ARKit searches for those objects in the real-world environment. When the session recognizes an object, it automatically adds to its list of anchors an [`ARObjectAnchor`](/documentation/ARKit/ARObjectAnchor) for each detected object.

To place virtual 3D content that matches the position or size of the detected object, use the anchor’s inherited [`transform`](/documentation/ARKit/ARAnchor/transform) property together with the [`center`](/documentation/ARKit/ARReferenceObject/center) and [`extent`](/documentation/ARKit/ARReferenceObject/extent) of the anchor’s [`referenceObject`](/documentation/ARKit/ARObjectAnchor/referenceObject).

## Topics

### Identifying Detected Objects

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

The detected object referenced by the object anchor.



---

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)