doorfix3r Posted February 26, 2014 Share Posted February 26, 2014 Hello everyone, i would like to know if there's any way to allow mouse click from inside the world and ignore any clicks from outside the game world ?Thanks for your response, doorfix3r Link to comment Share on other sites More sharing options...
Maxime Posted February 27, 2014 Share Posted February 27, 2014 I was wondering the same thing and I think you have to test the x/y position of your pointer to determine to ignore or not the click. Link to comment Share on other sites More sharing options...
rich Posted February 28, 2014 Share Posted February 28, 2014 When you say game world do you mean a space within the Phaser game, or do you mean only the phaser canvas and to ignore clicks on the rest of the web page? Link to comment Share on other sites More sharing options...
Recommended Posts