---
title: highlighted
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uicontrol/state-swift.struct/highlighted
---

# highlighted

The highlighted state of a control.

## Declaration

```swift
static var highlighted: UIControl.State { get }
```

## Discussion

Discussion A control becomes highlighted when a touch event enters the control’s bounds, and it loses that highlight when there’s a touch-up event or when the touch event exits the control’s bounds. You can retrieve and set this value through the isHighlighted property.

## See Also

### Constants

- [normal](uikit/uicontrol/state-swift.struct/normal.md)
- [disabled](uikit/uicontrol/state-swift.struct/disabled.md)
- [selected](uikit/uicontrol/state-swift.struct/selected.md)
- [focused](uikit/uicontrol/state-swift.struct/focused.md)
- [application](uikit/uicontrol/state-swift.struct/application.md)
- [reserved](uikit/uicontrol/state-swift.struct/reserved.md)
