<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Spring/mass",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI6SpringV4massSdvp"
  },
  "title" : "mass"
}
-->

# mass

The mass of the object attached to the end of the spring.

```
var mass: Double { get }
```

## Discussion

The default mass is 1. Increasing this value will increase the spring’s
effect: the attached object will be subject to more oscillations and
greater overshoot, resulting in an increased settling duration.
Decreasing the mass will reduce the spring effect: there will be fewer
oscillations and a reduced overshoot, resulting in a decreased
settling duration.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)