---
title: active
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipushbehavior/active
---

# active

The state of the push behavior’s force: either active or inactive.

## Declaration

```swift
var active: Bool { get set }
```

## Discussion

Discussion After you’ve added a push behavior to a dynamic animator, use this property to activate or deactivate the behavior’s force (rather than removing and then re-adding the behavior to the animator).

## See Also

### Initializing and managing a push behavior

- [addItem(_:)](uikit/uipushbehavior/additem(_:).md)
- [init(items:mode:)](uikit/uipushbehavior/init(items:mode:).md)
- [removeItem(_:)](uikit/uipushbehavior/removeitem(_:).md)
- [items](uikit/uipushbehavior/items.md)
