---
title: isEnabled
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibandselectioninteraction/isenabled
---

# isEnabled

A Boolean value that specifies whether the object is ready to detect interactions.

## Declaration

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

## Discussion

Discussion If the value of this property is true, the UIBandSelectionInteraction object is ready to detect pointer-based events in its owning view and initiate interactions. If the value is false, the object ignores events and doesn’t start interactions. The default value of this property is true.

## See Also

### Getting the interaction state

- [initialModifierFlags](uikit/uibandselectioninteraction/initialmodifierflags.md)
- [state](uikit/uibandselectioninteraction/state-swift.property.md)
- [UIBandSelectionInteraction.State](uikit/uibandselectioninteraction/state-swift.enum.md)
