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

# capturesCursor

A Boolean value that specifies whether the mouse cursor appears in the captured output.

```
var capturesCursor: Bool { get set }
```

## Discussion

When this property is true (the default), captured video frames include the mouse pointer. If you change this property to false, the captured output contains only the windows on the screen (that is, the mouse pointer is invisible in captured video).

> Note:
> Even if you hide the mouse pointer in captured output, <doc://com.apple.documentation/documentation/CoreMedia/CMSampleBuffer> objects vended by the capture include metadata for the cursor position and mouse button state. See <doc://com.apple.documentation/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_MouseAndKeyboardModifiers>.

---

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)