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

# isAnimationPaused(forKey:)

Returns a Boolean value indicating whether the animation attached to the object with the specified key is paused.

## Declaration

```swift
func isAnimationPaused(forKey key: String) -> Bool
```

## Parameters

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

## Return Value

Return Value true if the specified animation is paused. false if the animation is running or no animation is attached to the object with that key.

## See Also

### Pausing and Resuming Animations

- [pauseAnimation(forKey:)](scenekit/scnanimatable/pauseanimation(forkey:).md)
- [resumeAnimation(forKey:)](scenekit/scnanimatable/resumeanimation(forkey:).md)
