<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARRaycastQuery/Target-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:@E@ARRaycastTarget"
  },
  "title" : "ARRaycastQuery.Target"
}
-->

# ARRaycastQuery.Target

The types of surface you allow a raycast to intersect with.

```
enum Target
```

## Discussion

The available target types are plane, infinite plane, and estimated plane.

## Topics

### Targets

[`ARRaycastQuery.Target.estimatedPlane`](/documentation/ARKit/ARRaycastQuery/Target-swift.enum/estimatedPlane)

A raycast target that specifies nonplanar surfaces, or planes about which ARKit can only estimate.

[`ARRaycastQuery.Target.existingPlaneGeometry`](/documentation/ARKit/ARRaycastQuery/Target-swift.enum/existingPlaneGeometry)

A raycast target that requires a plane to have a definitive size and shape.

[`ARRaycastQuery.Target.existingPlaneInfinite`](/documentation/ARKit/ARRaycastQuery/Target-swift.enum/existingPlaneInfinite)

A raycast target that specifies a detected plane, regardless of its size and shape.



---

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)