Hiding the cursor in OS X and Windows desktop builds

Hiding the cursor in OS X and Windows desktop builds

Starting with Daily Build 2016.2813, you can now show and hide the mouse cursor in both OS X and Windows desktop builds. To hide the cursor, call:

To show it again, call the function again with true as the second parameter.

This completes the Optionally Hide OS Cursor in Desktop Builds feedback request. If you have questions or need help, please discuss further it in the forums.


Rob Miracle
[email protected]

Rob is the Developer Relations Manager for Corona Labs. Besides being passionate about helping other developers make great games using Corona, he is also enjoys making games in his spare time. Rob has been coding games since 1979 from personal computers to mainframes. He has over 16 years professional experience in the gaming industry.

  • bgmadclown
    Posted at 13:29h, 26 January

    Now that it’s completed, I’m looking forward to custom cursors!

  • Shultz
    Posted at 03:08h, 29 January

    It is really a useful tip for developers to adjust visibility of cursor in any given application. It can be usable in games where cursor exists in the screen and disrupts the player.