showCursor

showCursor( isShown )

Shows or hides the cursor. If 'isShown' is true, then it is visible, and if it is false, then it is hidden.

This is useful for games which do not use the mouse, or wish to replace it with an in-game cursor.

showCursor( false )

onEachFrame() do
    // cursor is not shown during the game
end

See also

setCursor