<!--
{
  "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/AnimationView/repeatMode",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation13AnimationViewV10repeatModeAA0c6RepeatF0Ovp"
  },
  "title" : "repeatMode"
}
-->

# repeatMode

An option that determines how the animation repeats.

```
var repeatMode: AnimationRepeatMode { get set }
```

## Discussion

If you call `AnimationView/trimmed(start:end:duration:)` with a
`start` or `end` that lies outside of the timeline defined by
[`duration`](/documentation/RealityKit/AnimationView/duration), the animation fills the additional playback
by applying this property.

---

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)