---
title: x
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/x
---

# x

The operation is along the x-axis.

## Declaration

```swift
let x: Axis3D
```

## See Also

### Deprecated global variables

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