setCursorVisible

fun setCursorVisible(visible: Boolean): ERROR CLASS: Symbol not found for js.promise.Promise<ERROR CLASS: Symbol not found for js.core.Void>(source)

Modifies the cursor's visibility.

Platform-specific

  • Windows: The cursor is only hidden within the confines of the window.

  • macOS: The cursor is hidden as long as the window has input focus, even if the cursor is outside of the window.

Parameters

visible

If false, this will hide the cursor. If true, this will show the cursor.