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

# repeated(count:)

Repeats an animation the number of times specified by a whole number.

## Declaration

```swift
func repeated(count: Int) -> 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.
