26 January 2016
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:
1 2 |
native.setProperty( "mouseCursorVisible", false ) |
To show it again, call the function again with true
as the second parameter.
1 2 |
native.setProperty( "mouseCursorVisible", true ) |
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.
bgmadclown
Posted at 13:29h, 26 JanuaryNow that it’s completed, I’m looking forward to custom cursors!
Shultz
Posted at 03:08h, 29 JanuaryIt 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.