---
title: showsTouchWhenHighlighted
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibutton/showstouchwhenhighlighted
---

# showsTouchWhenHighlighted

A Boolean value that determines whether tapping the button causes it to glow.

## Declaration

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

## Discussion

Discussion If true, the button glows when tapped; otherwise, it does not. The image and button behavior is not changed by the glow. The default value is false.

## See Also

### Button presentation

- [adjustsImageWhenHighlighted](uikit/uibutton/adjustsimagewhenhighlighted.md)
- [adjustsImageWhenDisabled](uikit/uibutton/adjustsimagewhendisabled.md)
