---
title: highlightDuration
framework: Touch Controller
role: symbol
role_heading: Instance Property
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: touchcontroller/tcbuttondescriptor/highlightduration
---

# highlightDuration

The time it takes for a highlight to fade away, in seconds.

## Declaration

```swift
var highlightDuration: TimeInterval { get set }
```

## See Also

### Inspecting the descriptor

- [contents](touchcontroller/tcbuttondescriptor/contents.md)
- [zIndex](touchcontroller/tcbuttondescriptor/zindex.md)
- [label](touchcontroller/tcbuttondescriptor/label.md)
- [offset](touchcontroller/tcbuttondescriptor/offset.md)
- [size](touchcontroller/tcbuttondescriptor/size.md)
