---
title: isEnabled
framework: xcuiautomation
role: symbol
role_heading: Instance Property
path: xcuiautomation/xcuielementattributes/isenabled
---

# isEnabled

Whether or not the element is enabled for user interaction.

## Declaration

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

## See Also

### Interaction state

- [hasFocus](xcuiautomation/xcuielementattributes/hasfocus.md)
- [isSelected](xcuiautomation/xcuielementattributes/isselected.md)
