---
title: isRunning
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uidynamicanimator/isrunning
---

# isRunning

Returns true if the dynamic animator is running.

## Declaration

```swift
var isRunning: Bool { get }
```

## Discussion

Discussion The views associated with an animator’s behaviors can change position or change transform only when the animator is running. For optimization purposes, iOS can pause and then restart an animator. Use this method if you need to check whether or not your views are currently subject to changes in position or transform.

## See Also

### Accessing a dynamic animator’s state

- [elapsedTime](uikit/uidynamicanimator/elapsedtime.md)
- [behaviors](uikit/uidynamicanimator/behaviors.md)
- [referenceView](uikit/uidynamicanimator/referenceview.md)
- [updateItem(usingCurrentState:)](uikit/uidynamicanimator/updateitem(usingcurrentstate:).md)
