dnkm Posted November 24, 2013 Share Posted November 24, 2013 I have a button that I want to 'disappear' when it's clicked (moving to a different scene) so I use... this.items.setAll("visible", false); this.items.setAll("exists", false); (items is a group holding all buttons for the scene) ...which works fine. The problem is that the mouse cursor then remains in the 'hand' state until you move over and out of a different button. Any ideas on how to handle this? It's not a massive issue, just looks a bit odd. Link to comment Share on other sites More sharing options...
rich Posted November 24, 2013 Share Posted November 24, 2013 It's a bit of a hack, but until Phaser supports this natively you can just do:this.game.stage.canvas.style.cursor = "default"; en4ce 1 Link to comment Share on other sites More sharing options...
ChubbRck Posted May 12, 2014 Share Posted May 12, 2014 Thanks for this thread, guys - does this solution still apply to Phaser 2+? I get an error stating "cannot change property style of undefined' Link to comment Share on other sites More sharing options...
Recommended Posts