CGCursorIsVisible()
Returns a Boolean value indicating whether the mouse cursor is visible.
Declaration
func CGCursorIsVisible() -> boolean_tReturn Value
If true, the cursor is visible on any display; otherwise, false.
Discussion
To hide or show the cursor, you can use the functions CGDisplayHideCursor(_:) and CGDisplayShowCursor(_:).
See Also
Functions
CGAcquireDisplayFadeReservation(_:_:)CGAssociateMouseAndMouseCursorPosition(_:)CGBeginDisplayConfiguration(_:)CGCancelDisplayConfiguration(_:)CGCaptureAllDisplays()CGCaptureAllDisplaysWithOptions(_:)CGCompleteDisplayConfiguration(_:_:)CGConfigureDisplayFadeEffect(_:_:_:_:_:_:)CGConfigureDisplayMirrorOfDisplay(_:_:_:)CGConfigureDisplayMode(_:_:_:)CGConfigureDisplayOrigin(_:_:_:_:)CGConfigureDisplayStereoOperation(_:_:_:_:)CGConfigureDisplayWithDisplayMode(_:_:_:_:)CGCursorIsDrawnInFramebuffer()CGDirectDisplayCopyCurrentMetalDevice(_:)