---
title: isEnabled
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturecontrol/isenabled
---

# isEnabled

A Boolean value that indicates whether this control supports user interaction.

## Declaration

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

## Discussion

Discussion Controls support user interaction by default. You can temporarily disable user interaction on a control without removing it from a capture session by setting it’s enabled state to false. The default value is true. note: Apps can programmatically change the value of a control while in a disabled state.
