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

# highlightDuration

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

## Declaration

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

## See Also

### Inspecting a thumbstick

- [backgroundContents](touchcontroller/tcthumbstick/backgroundcontents.md)
- [hidesWhenNotPressed](touchcontroller/tcthumbstick/hideswhennotpressed.md)
- [stickContents](touchcontroller/tcthumbstick/stickcontents.md)
- [stickSize](touchcontroller/tcthumbstick/sticksize.md)
