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

# highlightDuration

The duration of the highlight animation.

## Declaration

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

## See Also

### Inspecting a control

- [isEnabled](touchcontroller/tccontrol/isenabled.md)
- [label](touchcontroller/tccontrol/label.md)
- [TCControlLabel](touchcontroller/tccontrollabel.md)
- [isPressed](touchcontroller/tccontrol/ispressed.md)
