Ikalou Posted July 7, 2017 Share Posted July 7, 2017 (edited) Hi, It seems toggling inputEnabled off and on again on a Button removes the hand cursor on hover. See before / after images. I made a codepen of the issue here: Is that meant to happen? If so, how can I enable the hand cursor again after changing inputEnabled back to true? or maybe I shouldn't use inputEnabled at all? I want to disable the button temporarily. Thanks in advance for any help or advice. Edited July 7, 2017 by Ikalou more infos Link to comment Share on other sites More sharing options...
Ikalou Posted July 7, 2017 Author Share Posted July 7, 2017 Nevermind, the anwser is in the documentation: https://photonstorm.github.io/phaser-ce/Phaser.Button.html#inputEnabled. Quote If you want to temporarily disable input for a Game Object, then it's better to set input.enabled = false, as it won't reset any of the Input Handlers internal properties. I will leave it to a moderator to decide weather to kill the thread or leave it for people to find. Link to comment Share on other sites More sharing options...
Recommended Posts