<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/AnchoringComponent/Target-swift.enum/referenceObject(from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation18AnchoringComponentV6TargetO15referenceObjectyAeC0gC6SourceV_tcAEmF"
  },
  "title" : "AnchoringComponent.Target.referenceObject(from:)"
}
-->

# AnchoringComponent.Target.referenceObject(from:)

An anchor point attached to an object that matches the reference of an object anchor.

```
case referenceObject(from: AnchoringComponent.ObjectAnchoringSource)
```

## Discussion> Note: macOS and tvOS apps don’t track this type of 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)