khleug35 Posted April 13, 2018 Share Posted April 13, 2018 Here it full code https://jsfiddle.net/93q4z560/ I use the following link for template https://phaser.io/examples/v2/category/buttons When I create more than one button and test it on mobile device or chrome toggle device mode. When I click the button2 and hold it move it button 1, It work, button1 is over. But Button1 is still "over", not "Out" so when I second time to click the button2 and hold it move it button 1, It work, button1 is over. it still over how to set onscreen button over to out directly, THX if(button2.events.onInputOut{ button1.events.onInputOver = false; button1.events.onInputOut = true; } Thank you very much Link to comment Share on other sites More sharing options...
Recommended Posts