---
title: knobThickness
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsslidercell/knobthickness
---

# knobThickness

The thickness of the slider knob, in pixels.

## Declaration

```swift
var knobThickness: CGFloat { get }
```

## Discussion

Discussion The thickness is defined to be the extent of the knob along the long dimension of the bar. In a vertical slider, a knob’s thickness is its height; in a horizontal slider, its thickness is its width.

## See Also

### Managing Cell Appearance

- [isVertical](appkit/nsslidercell/isvertical.md)
