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

# knobThickness

The knob’s thickness, 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, a knob’s thickness is its width.

## See Also

### Managing the slider’s appearance

- [sliderType](appkit/nsslider/slidertype-swift.property.md)
- [NSSlider.SliderType](appkit/nsslider/slidertype-swift.enum.md)
- [altIncrementValue](appkit/nsslider/altincrementvalue.md)
- [isVertical](appkit/nsslider/isvertical.md)
- [trackFillColor](appkit/nsslider/trackfillcolor.md)
- [tintProminence](appkit/nsslider/tintprominence.md)
- [NSTintProminence](appkit/nstintprominence.md)
