---
title: z
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/unitpoint3d/z
---

# z

The normalized distance from the origin to the point in the depth dimension.

## Declaration

```swift
var z: CGFloat
```

## See Also

### Getting the point’s coordinates

- [x](swiftui/unitpoint3d/x.md)
- [y](swiftui/unitpoint3d/y.md)
