HI, I am trying to play sound if global variable value equals one, but it didn't work.
even if the initial value is 1 the sound doesn't play.
Develop games in your browser. Powerful, performant & highly capable.
(Don't crop so much). Assuming this event is at the top level, then this line will play continuously (and you may or may not hear it). Make sure it only runs once. There are many ways to do this. One is to set my_win = 0 in that same event. Another is to check if that sound is not playing already.
I solved it y using 'trigger once' condition