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

# magnitudeSquared

The dot-product of the tuple of animatable values with itself.

## Declaration

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