When I try to mute the song and click on the mute button, I get multiple click events. The same is when I submit the score at the end of the game. On one button click, I get 4-5 submissions into the database. On touch, it is working perfectly.
you are using Touch - is touching SoundIcon
that will continuously fire for as long as you are touching the icon - 60 times a second.
You want Touch - on touched object
Thank you! Now when I changed this to the On touched object, I can not click the button with the mouse :(
Develop games in your browser. Powerful, performant & highly capable.
I figured it out that I should delete the mouse object then.