<!--
{
  "availability" : [
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSScrubberLayout/visibleRect",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSScrubberLayout(py)visibleRect"
  },
  "title" : "visibleRect"
}
-->

# visibleRect

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

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

## Discussion

The value of this property is <doc://com.apple.documentation/documentation/Foundation/NSZeroRect> if the layout is not currently assigned to a scrubber control.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)