---
title: referenceObject
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arobjectanchor/referenceobject
---

# referenceObject

The detected object referenced by the object anchor.

## Declaration

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

## Discussion

Discussion This object is always one of the ARReferenceObject objects you provided in the detectionObjects array when configuring the session.
