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

# ARTrackedRaycast

A raycast query that ARKit repeats in succession to give you refined results over time.

```
class ARTrackedRaycast
```

## Overview

Tracked raycasting improves hit-testing techniques by repeating the query for a 3D position in succession. ARKit provides you with an updated position as it refines its understanding of world over time.

To start a tracked raycast, you call [`trackedRaycast(_:updateHandler:)`](/documentation/ARKit/ARSession/trackedRaycast(_:updateHandler:)) on your app’s current [`ARSession`](/documentation/ARKit/ARSession).

## Topics

### Stopping Tracking

[`stopTracking()`](/documentation/ARKit/ARTrackedRaycast/stopTracking())

Stops repeating the raycast query.



---

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)