---
title: tabKeyTraversesCells
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmatrix/tabkeytraversescells
---

# tabKeyTraversesCells

A Boolean that indicates whether pressing the Tab key advances the key cell to the next selectable cell.

## Declaration

```swift
var tabKeyTraversesCells: Bool { get set }
```

## Discussion

Discussion When the value of this property is true, pressing the Tab key should advance the key cell to the next selectable cell in the receiver. When the value of this property is false or if there aren’t any selectable cells after the current one, the next view in the window becomes key when the user presses the Tab key. Pressing Shift-Tab causes the key cell to advance in the opposite direction (if the value of this property is false, or if there aren’t any selectable cells before the current one, the previous view in the window becomes key).

## See Also

### Related Documentation

- [selectKeyView(following:)](appkit/nswindow/selectkeyview(following:).md)
- [keyCell](appkit/nsmatrix/keycell.md)
- [selectNextKeyView(_:)](appkit/nswindow/selectnextkeyview(_:).md)
