---
title: visibleRect
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrubberlayout/visiblerect
---

# visibleRect

The currently visible rectangle, in the coordinate space of the scrubber content.

## Declaration

```swift
var visibleRect: NSRect { get }
```

## Discussion

Discussion The value of this property is NSZeroRect if the layout is not currently assigned to a scrubber control.

## See Also

### Configuring a scrubber layout

- [layoutAttributesClass](appkit/nsscrubberlayout/layoutattributesclass.md)
- [scrubber](appkit/nsscrubberlayout/scrubber.md)
- [invalidateLayout()](appkit/nsscrubberlayout/invalidatelayout().md)
