Horizonicblue Posted December 27, 2015 Share Posted December 27, 2015 Hi,Anyone know how to check if mouse in down or mouse clicked?Also anyone know how to check mouse click release event? I tried using this:if(game.input.mousePointer.onDown)but it doesn't work for me.if(game.input.mousePointer.isDown)This works but when I put it into update function,it runs several times for single click.I want action to occur only once in one click. Link to comment Share on other sites More sharing options...
drhayes Posted December 28, 2015 Share Posted December 28, 2015 You're looking for the signal Phaser.Input.onDown. I think. Link to comment Share on other sites More sharing options...
Recommended Posts