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

# zIndex

The z-index of the controlLayout, used for z-ordering.

## Declaration

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

## See Also

### Inspecting the control layout

- [anchor](touchcontroller/tccontrollayout/anchor.md)
- [anchorCoordinateSystem](touchcontroller/tccontrollayout/anchorcoordinatesystem.md)
- [offset](touchcontroller/tccontrollayout/offset.md)
- [position](touchcontroller/tccontrollayout/position.md)
- [size](touchcontroller/tccontrollayout/size.md)
