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

# magnitudeSquared

## Declaration

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

## See Also

### Inspecting a 3D point’s properties

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