<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ARView/unproject(_:ontoPlane:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:10RealityKit6ARViewC9unproject_9ontoPlanes5SIMD3VySfGSgSo7CGPointV_So13simd_float4x4atF"
  },
  "title" : "unproject(_:ontoPlane:)"
}
-->

# unproject(_:ontoPlane:)

Maps a 2D point from the view’s coordinate system onto the given plane
in 3D space.

```
@MainActor @preconcurrency func unproject(_ point: CGPoint, ontoPlane planeTransform: float4x4) -> SIMD3<Float>?
```

## Parameters

`point`

The point in the view’s coordinate system.

`planeTransform`

A transform used to define the coordinate system of
the plane. The positive y-axis is taken as the normal of the plane.

## Return Value

The 3D position in world coordinates, or `nil` if the mapping
isn’t possible.

---

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)