<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/AnimationRepeatMode/cumulative",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation19AnimationRepeatModeO10cumulativeyA2CmF"
  },
  "title" : "AnimationRepeatMode.cumulative"
}
-->

# AnimationRepeatMode.cumulative

A mode that repeats indefinitely and begins each repetition by setting
the animated property to the ending value of the previous repetition.

```
case cumulative
```

## Discussion

A [`FromToByAnimation`](/documentation/RealityKit/FromToByAnimation) with a [`fromValue`](/documentation/RealityKit/FromToByAnimation/fromValue-umpp) of
`1.0` and an [`toValue`](/documentation/RealityKit/FromToByAnimation/toValue-4m4pm) of `2.0` and
[`repeatMode`](/documentation/RealityKit/FromToByAnimation/repeatMode) set to this property repeats as, `1.0`,
`2.0`, 3`.0`, 4`.0`, `5.0`, and so on.

---

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)