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

# referenceObject

The detected object referenced by the object anchor.

```
var referenceObject: ARReferenceObject { get }
```

## Discussion

This object is always one of the [`ARReferenceObject`](/documentation/ARKit/ARReferenceObject) objects you provided in the [`detectionObjects`](/documentation/ARKit/ARWorldTrackingConfiguration/detectionObjects) array when configuring the session.

---

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)