<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CASpringAnimation/damping",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(cs)CASpringAnimation(py)damping"
  },
  "title" : "damping"
}
-->

# damping

Defines how the spring’s motion should be damped due to the forces of friction.

```
var damping: CGFloat { get set }
```

## Discussion

The default value of the [`damping`](/documentation/QuartzCore/CASpringAnimation/damping) property is `10`. Reducing this value reduces the energy loss with each oscillation: the animated value will overshoot the [`toValue`](/documentation/QuartzCore/CABasicAnimation/toValue) and the [`settlingDuration`](/documentation/QuartzCore/CASpringAnimation/settlingDuration) may be greater than the [`duration`](/documentation/QuartzCore/CAMediaTiming/duration). Increasing the value increases the energy loss with each duration: there will be fewer and smaller oscillations and the [`settlingDuration`](/documentation/QuartzCore/CASpringAnimation/settlingDuration) may be smaller than the 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)