---
title: "repeated(count:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/animationdefinition/repeated(count:)-937w"
---

# repeated(count:)

Repeats an animation the number of times specified by an irrational number.

## Declaration

```swift
func repeated(count: TimeInterval) -> Self
```

## Parameters

- `count`: The number of times the animation repeats before stopping.

## Return Value

Return Value A version of the calling animation repeated the given number of times.

## See Also

### Repeating animation playback

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