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

# repeatMode

An option that determines how the animation repeats.

## Declaration

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

## Discussion

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