<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/CollisionCastQueryType/any",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation22CollisionCastQueryTypeO3anyyA2CmF"
  },
  "title" : "CollisionCastQueryType.any"
}
-->

# CollisionCastQueryType.any

Report one hit.

```
case any
```

## Discussion

This query type typically executes fastest, but doesn’t guarantee
anything about which hit it returns. If you need the hit closest to the
origin of the cast, use [`CollisionCastQueryType.nearest`](/documentation/RealityKit/CollisionCastQueryType/nearest) instead.

---

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)