---
title: capturesShadowsOnly
framework: screencapturekit
role: symbol
role_heading: Instance Property
path: screencapturekit/scstreamconfiguration/capturesshadowsonly
---

# capturesShadowsOnly

A Boolean value that indicates if the stream only captures shadows.

## Declaration

```swift
var capturesShadowsOnly: Bool { get set }
```

## Discussion

Discussion The default value is false.

## See Also

### Configuring captured elements

- [showsCursor](screencapturekit/scstreamconfiguration/showscursor.md)
- [shouldBeOpaque](screencapturekit/scstreamconfiguration/shouldbeopaque.md)
- [ignoreShadowsDisplay](screencapturekit/scstreamconfiguration/ignoreshadowsdisplay.md)
- [ignoreShadowsSingleWindow](screencapturekit/scstreamconfiguration/ignoreshadowssinglewindow.md)
- [ignoreGlobalClipDisplay](screencapturekit/scstreamconfiguration/ignoreglobalclipdisplay.md)
- [ignoreGlobalClipSingleWindow](screencapturekit/scstreamconfiguration/ignoreglobalclipsinglewindow.md)
