<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: 18.2.0 -",
    "macOS: 12.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ScreenCaptureKit",
  "identifier" : "/documentation/ScreenCaptureKit/SCStreamFrameInfo/dirtyRects",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "ScreenCaptureKit"
    ],
    "preciseIdentifier" : "c:@SCStreamFrameInfoDirtyRects"
  },
  "title" : "dirtyRects"
}
-->

# dirtyRects

A key to retrieve the areas of a video frame that contain changes.

```
static let dirtyRects: SCStreamFrameInfo
```

## Discussion

The associated value is an array of rectangles that represents a union of the rectangles redrawn and moved.

---

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)