---
title: z
framework: Spatial
role: symbol
role_heading: Global Variable
platforms: [iOS 16.0+, iPadOS 16.0+, Mac Catalyst 16.0+, macOS 13.0+, tvOS 16.0+, watchOS 9.0+]
path: spatial/z
---

# z

The operation is along the z-axis.

## Declaration

```swift
let z: Axis3D
```

## See Also

### Deprecated global variables

- [x](spatial/x.md)
- [y](spatial/y.md)
