---
title: itemIndex
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrubberlayoutattributes/itemindex
---

# itemIndex

The index of the scrubber item that is represented by the item’s layout attributes.

## Declaration

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

## See Also

### Controlling the layout

- [alpha](appkit/nsscrubberlayoutattributes/alpha.md)
- [frame](appkit/nsscrubberlayoutattributes/frame.md)
