---
title: fillMode
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/animationdefinition/fillmode
---

# fillMode

An option that determines which data displays outside of the normal duration.

## Declaration

```swift
var fillMode: AnimationFillMode { get set }
```

## Discussion

Discussion This property determines what to display when the framework samples the animation outside of the range defined by its underlying duration. The animation applies this property when: Playback progresses toward, but hasn’t yet reached, a nonzero offset. - A range determined by trimStart, trimEnd, or trimDuration exceeds the animation’s underlying duration.

## See Also

### Repeating animation playback

- [repeatMode](realitykit/animationdefinition/repeatmode.md)
- [repeated(count:)](realitykit/animationdefinition/repeated(count:)-937w.md)
- [repeated(count:)](realitykit/animationdefinition/repeated(count:)-941x8.md)
- [repeatingForever()](realitykit/animationdefinition/repeatingforever().md)
