---
title: z
framework: spatial
role: symbol
role_heading: Instance Property
path: spatial/point3d/z
---

# z

The z-coordinate value.

## Declaration

```swift
var z: Double { get set }
```

## See Also

### Inspecting a 3D point’s properties

- [x](spatial/point3d/x.md)
- [y](spatial/point3d/y.md)
- [vector](spatial/point3d/vector.md)
- [magnitudeSquared](spatial/point3d/magnitudesquared.md)
