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

# x

The x-coordinate value.

## Declaration

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

## See Also

### Inspecting a 3D point’s properties

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