<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARSession/RunOptions/stopTrackedRaycasts",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:@E@ARSessionRunOptions@ARSessionRunOptionStopTrackedRaycasts"
  },
  "title" : "stopTrackedRaycasts"
}
-->

# stopTrackedRaycasts

An option to stop all active tracked raycasts.

```
static var stopTrackedRaycasts: ARSession.RunOptions { get }
```

## Discussion

By default, when you call the [`run(_:options:)`](/documentation/ARKit/ARSession/run(_:options:)) method on a session that is running or has run before, the session keeps tracking any [`ARTrackedRaycast`](/documentation/ARKit/ARTrackedRaycast) objects that you previously added by calling [`trackedRaycast(_:updateHandler:)`](/documentation/ARKit/ARSession/trackedRaycast(_:updateHandler:)).

Use [`stopTrackedRaycasts`](/documentation/ARKit/ARSession/RunOptions/stopTrackedRaycasts) if you want to stop all active tracked raycasts. Alternatively, you can stop individual raycasts by calling [`stopTracking()`](/documentation/ARKit/ARTrackedRaycast/stopTracking()) on individual raycasts.

---

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)