mattbrand Posted October 6, 2017 Share Posted October 6, 2017 Hey all! I am trying to use a custom cursor in my game. It works at first, but when I roll over a Phaser button (in latest Chrome and latest Safari), it switches back to the regular hand cursor. I have tried setting the cursor through CSS: canvas { cursor: url('./assets/images/hand_blue.png'), auto; } And Phaser: game.canvas.style.cursor = "url(assets/images/hand_blue.png), auto"; It fails using both methods, when the input goes over a Phaser button. Any thoughts on this? Link to comment Share on other sites More sharing options...
samme Posted October 6, 2017 Share Posted October 6, 2017 button.input.useHandCursor = false; Link to comment Share on other sites More sharing options...
mattbrand Posted October 10, 2017 Author Share Posted October 10, 2017 Great, thanks so much! Link to comment Share on other sites More sharing options...
Recommended Posts