---
title: magnitudeSquared
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/emptyanimatabledata/magnitudesquared
---

# magnitudeSquared

The dot-product of this animatable data instance with itself.

## Declaration

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