<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNAnimationEventBlock",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:@T@SCNAnimationEventBlock"
  },
  "title" : "SCNAnimationEventBlock"
}
-->

# SCNAnimationEventBlock

Signature for the block called when an animation event triggers.

```
typealias SCNAnimationEventBlock = (any SCNAnimationProtocol, Any, Bool) -> Void
```

## Discussion

The block takes the following parameters:

- animation: The animation triggering the animation event.
- animatedObject: The Scene Kit object affected by the animation.
- playingBackward: <doc://com.apple.documentation/documentation/Swift/true> if the animation is playing in reverse; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

---

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)