<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/AnimationEvents/PlaybackLooped",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV"
  },
  "title" : "AnimationEvents.PlaybackLooped"
}
-->

# AnimationEvents.PlaybackLooped

The event raised when an animation loops.

```
struct PlaybackLooped
```

## Overview

You loop animation playback by creating an [`AnimationResource`](/documentation/RealityKit/AnimationResource)
instance from an existing one with either the
[`repeat(count:)`](/documentation/RealityKit/AnimationResource/repeat(count:)) or the
[`repeat(duration:)`](/documentation/RealityKit/AnimationResource/repeat(duration:)) method.

## Topics

### Instance Properties

[`let playbackController: AnimationPlaybackController`](/documentation/RealityKit/AnimationEvents/PlaybackLooped/playbackController)

The animation playback controller managing the animation that
triggered the event.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Event`](/documentation/RealityKit/Event)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)