---
title: "animationPlayer(forKey:)"
framework: scenekit
role: symbol
role_heading: Instance Method
path: "scenekit/scnanimatable/animationplayer(forkey:)"
---

# animationPlayer(forKey:)

## Declaration

```swift
func animationPlayer(forKey key: String) -> SCNAnimationPlayer?
```
