---
title: "invalidateLayoutForItems(at:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsscrubberflowlayout/invalidatelayoutforitems(at:)"
---

# invalidateLayoutForItems(at:)

Informs the scrubber that it should perform a new layout pass for the items at the specified indexes.

## Declaration

```swift
func invalidateLayoutForItems(at invalidItemIndexes: IndexSet)
```

## Parameters

- `invalidItemIndexes`: An index set containing the indexes of the items whose layout should be invalidated.
