<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ActionHandlerProtocol/actionTerminated(event:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation21ActionHandlerProtocolP16actionTerminated5eventyAA0C5EventVy0C4TypeQzG_tF"
  },
  "title" : "actionTerminated(event:)"
}
-->

# actionTerminated(event:)

The function used to respond to action terminated events.

```
mutating func actionTerminated(event: Self.EventType)
```

## Discussion

Action terminated is raised when playback is terminated and the animation is removed
from the animation system. This can occur before the animation has a chance to complete
if the user manually stops the animation by calling [`stop()`](/documentation/RealityKit/AnimationPlaybackController/stop()).

---

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)