---
title: verticalScroller
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrollview/verticalscroller
---

# verticalScroller

The scroll view’s vertical scroller.

## Declaration

```swift
var verticalScroller: NSScroller? { get set }
```

## Discussion

Discussion The value of this property is nil if the scroll view has no vertical scroller. You can access the vertical scroller using this property even if the scroll view isn’t currently displaying it. To make sure the scroller is visible, set hasVerticalScroller to true.

## See Also

### Managing Scrollers

- [horizontalScroller](appkit/nsscrollview/horizontalscroller.md)
- [hasHorizontalScroller](appkit/nsscrollview/hashorizontalscroller.md)
- [hasVerticalScroller](appkit/nsscrollview/hasverticalscroller.md)
- [autohidesScrollers](appkit/nsscrollview/autohidesscrollers.md)
