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

# magnitudeSquared

The dot-product of this animated pair with itself.

## Declaration

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