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

# zIndex

The z-index of the touchpad. A lower z-index is drawn first.

## Declaration

```swift
var zIndex: Int { get set }
```

## See Also

### Inspecting the descriptor

- [contents](touchcontroller/tctouchpaddescriptor/contents.md)
- [highlightDuration](touchcontroller/tctouchpaddescriptor/highlightduration.md)
- [label](touchcontroller/tctouchpaddescriptor/label.md)
- [offset](touchcontroller/tctouchpaddescriptor/offset.md)
- [reportsRelativeValues](touchcontroller/tctouchpaddescriptor/reportsrelativevalues.md)
- [size](touchcontroller/tctouchpaddescriptor/size.md)
