<!--
{
  "availability" : [
    "macOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/DeviceAnchor",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit12DeviceAnchorV"
  },
  "title" : "DeviceAnchor"
}
-->

# DeviceAnchor

The position and orientation of Apple Vision Pro.

```
struct DeviceAnchor
```

## Overview

You create a device anchor by starting an [`ARKitSession`](/documentation/ARKit/ARKitSession) with a [`WorldTrackingProvider`](/documentation/ARKit/WorldTrackingProvider) and calling its [`queryDeviceAnchor(atTimestamp:)`](/documentation/ARKit/WorldTrackingProvider/queryDeviceAnchor(atTimestamp:)) method.

## Topics

### Inspecting a device anchor

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

The transform from the device to the origin coordinate system.

[`trackingState`](/documentation/ARKit/DeviceAnchor/trackingState-swift.property)

Tracking state of this anchor

[`DeviceAnchor.TrackingState`](/documentation/ARKit/DeviceAnchor/TrackingState-swift.enum)

Values that describe the tracking state of a device anchor.

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

A Boolean value that indicates whether ARKit is tracking the device.

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

A textual representation of this anchor.

[`id`](/documentation/ARKit/DeviceAnchor/id)

The unique identifier of this 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)