mattbrand Posted January 23, 2017 Share Posted January 23, 2017 The default setup for buttons in Phaser is that if you click on a button, then move the mouse (or finger on mobile) off the button, when you let go it still registers as a click/tap. Is there a way to have Phaser buttons perform like most buttons - where if you move the input off the button before you release, it does not activate the button? Link to comment Share on other sites More sharing options...
phreaknation Posted January 23, 2017 Share Posted January 23, 2017 A way around this is on the up click action to validate that the coords is still over the button Link to comment Share on other sites More sharing options...
mattbrand Posted January 23, 2017 Author Share Posted January 23, 2017 Gotcha, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts