<!--
{
  "availability" : [
    "iOS: 11.0.0 - 14.0.0",
    "iPadOS: 11.0.0 - 14.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARHitTestResult/worldTransform",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARHitTestResult(py)worldTransform"
  },
  "title" : "worldTransform"
}
-->

# worldTransform

The position and orientation of the result relative to the world coordinate system.

```
var worldTransform: simd_float4x4 { get }
```

## Discussion

This transform matrix indicates the intersection point between the detected surface and the ray that created the hit-test result. A hit-test projects a 2D point in the image or view coordinate system along a ray into the 3D world space and reports results where that line intersects detected surfaces.

The session configuration’s [`worldAlignment`](/documentation/ARKit/ARConfiguration/worldAlignment-swift.property) property defines the world coordinate system.

---

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)