---
title: localTransform
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arhittestresult/localtransform
---

# localTransform

The position and orientation of the result relative to the nearest anchor or feature point.

## Declaration

```swift
var localTransform: simd_float4x4 { get }
```

## Discussion

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.

## See Also

### Examining Result Geometry

- [distance](arkit/arhittestresult/distance.md)
- [worldTransform](arkit/arhittestresult/worldtransform.md)
