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

# hidesWhenNotPressed

A Boolean value that indicates whether to hide the thumbstick when it is not being pressed.

## Declaration

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

## See Also

### Inspecting a thumbstick

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