---
title: AnimationEvents.PlaybackLooped
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/animationevents/playbacklooped
---

# AnimationEvents.PlaybackLooped

The event raised when an animation loops.

## Declaration

```swift
struct PlaybackLooped
```

## Overview

Overview You loop animation playback by creating an AnimationResource instance from an existing one with either the repeat(count:) or the repeat(duration:) method.

## Topics

### Instance Properties

- [playbackController](realitykit/animationevents/playbacklooped/playbackcontroller.md)

## Relationships

### Conforms To

- [Event](realitykit/event.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Recognizing animation events

- [AnimationEvents.PlaybackStarted](realitykit/animationevents/playbackstarted.md)
- [AnimationEvents.PlaybackCompleted](realitykit/animationevents/playbackcompleted.md)
- [AnimationEvents.PlaybackTerminated](realitykit/animationevents/playbackterminated.md)
