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

# resumeAnimation(forKey:)

Resumes a previously paused animation attached to the object with the specified key.

## Declaration

```swift
func resumeAnimation(forKey key: String)
```

## Parameters

- `key`: A string identifying an attached animation.

## Discussion

Discussion This method has no effect if no animation is attached to the object with the specified key or if the specified animation is not currently paused.

## See Also

### Pausing and Resuming Animations

- [pauseAnimation(forKey:)](scenekit/scnanimatable/pauseanimation(forkey:).md)
- [isAnimationPaused(forKey:)](scenekit/scnanimatable/isanimationpaused(forkey:).md)
