Hello, I am in the process of creating a game and I have some difficulties. I hope you can answer my questions.
On the menu page, I have 4 buttons(play, instruction…) On each of this button I have added a click sound.
I have added this code for the play button, however it does not go to next scene, it only stop all sounds.
on (release) {
stopAllSounds();
nextScene();
}
I get the error “Mouse events are permitted only for button instances”
Any ideas?