Contents

CGCursorIsVisible()

Returns a Boolean value indicating whether the mouse cursor is visible.

Declaration

func CGCursorIsVisible() -> boolean_t

Return 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