<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCursor/hide()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSCursor(cm)hide"
  },
  "title" : "hide()"
}
-->

# hide()

Makes the current cursor invisible.

```
class func hide()
```

## Discussion

If another cursor becomes current, that cursor will be invisible, too. It will remain invisible until you invoke the [`unhide()`](/documentation/AppKit/NSCursor/unhide()) method.

Each invocation of `hide` must be balanced by an invocation of [`unhide()`](/documentation/AppKit/NSCursor/unhide()) in order for the cursor to be displayed.

The [`hide()`](/documentation/AppKit/NSCursor/hide()) method overrides [`setHiddenUntilMouseMoves(_:)`](/documentation/AppKit/NSCursor/setHiddenUntilMouseMoves(_:)).

---

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)