---
title: vector
framework: spatial
role: symbol
role_heading: Instance Property
path: spatial/vector3d/vector
---

# vector

A simd three-element vector that contains the x-, y-, and z-element values.

## Declaration

```swift
var vector: simd_double3 { get set }
```

## See Also

### Inspecting a vector’s properties

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