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

# zIndex

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

## Declaration

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

## See Also

### Inspecting the descriptor

- [compositeLabel](touchcontroller/tcdirectionpaddescriptor/compositelabel.md)
- [downContents](touchcontroller/tcdirectionpaddescriptor/downcontents.md)
- [downLabel](touchcontroller/tcdirectionpaddescriptor/downlabel.md)
- [highlightDuration](touchcontroller/tcdirectionpaddescriptor/highlightduration.md)
- [inputIsMutuallyExclusive](touchcontroller/tcdirectionpaddescriptor/inputismutuallyexclusive.md)
- [isDigital](touchcontroller/tcdirectionpaddescriptor/isdigital.md)
- [isRadial](touchcontroller/tcdirectionpaddescriptor/isradial.md)
- [leftContents](touchcontroller/tcdirectionpaddescriptor/leftcontents.md)
- [leftLabel](touchcontroller/tcdirectionpaddescriptor/leftlabel.md)
- [offset](touchcontroller/tcdirectionpaddescriptor/offset.md)
- [rightContents](touchcontroller/tcdirectionpaddescriptor/rightcontents.md)
- [rightLabel](touchcontroller/tcdirectionpaddescriptor/rightlabel.md)
- [size](touchcontroller/tcdirectionpaddescriptor/size.md)
- [upContents](touchcontroller/tcdirectionpaddescriptor/upcontents.md)
- [upLabel](touchcontroller/tcdirectionpaddescriptor/uplabel.md)
