Diwepa Posted October 19, 2018 Share Posted October 19, 2018 Hello friends, I am new to Phaser and I am discovering many things. I have a lucky wheel that is activated by clicking anywhere on the canvas. I would like it to work only by clicking in the center. Could you help me? Thank you Link to comment Share on other sites More sharing options...
dude78 Posted October 20, 2018 Share Posted October 20, 2018 You could create another small object and place it at the center. Link to comment Share on other sites More sharing options...
damager Posted October 20, 2018 Share Posted October 20, 2018 Also you can check in the input handler intersection of custom created rectangle and pointer Link to comment Share on other sites More sharing options...
dude78 Posted October 20, 2018 Share Posted October 20, 2018 Or check coords when click events is called. Link to comment Share on other sites More sharing options...
Recommended Posts