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

# length

The length of the vector.

## Declaration

```swift
var length: Double { get }
```

## See Also

### Geometry functions

- [cross(_:)](spatial/vector3d/cross(_:).md)
- [dot(_:)](spatial/vector3d/dot(_:).md)
- [lengthSquared](spatial/vector3d/lengthsquared.md)
- [normalize()](spatial/vector3d/normalize().md)
- [normalized](spatial/vector3d/normalized.md)
- [projected(_:)](spatial/vector3d/projected(_:).md)
- [reflected(_:)](spatial/vector3d/reflected(_:).md)
