<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGCursorIsDrawnInFramebuffer()",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@F@CGCursorIsDrawnInFramebuffer"
  },
  "title" : "CGCursorIsDrawnInFramebuffer()"
}
-->

# CGCursorIsDrawnInFramebuffer()

Returns a Boolean value indicating whether the mouse cursor is drawn in framebuffer memory.

```
func CGCursorIsDrawnInFramebuffer() -> boolean_t
```

## Return Value

If `true`, the cursor is drawn in framebuffer memory; otherwise, `false`.

## Discussion

This function returns a Boolean value that indicates whether or not the cursor is drawn in the framebuffer. (The cursor could exist in an overlay plane or a similar mechanism that puts pixels on-screen without altering framebuffer content.) If the cursor is drawn in the framebuffer, it is read back along with window data.

The reported Boolean value is based on the union of the state of the cursor on all displays.  If the cursor is drawn in the framebuffer on any display, the function returns `true`.

---

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)