---
title: repeatMode
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/animationgroup/repeatmode
---

# repeatMode

An option that determines how the animations repeat.

## Declaration

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

## Discussion

Discussion If you call FromToByAnimation/trimmed(start:end:duration:) with a start or end that lies outside of the timeline defined by duration, the animation fills the additional playback by applying this property.

## See Also

### Repeating group playback

- [fillMode](realitykit/animationgroup/fillmode.md)
