Download

How can i stop songs and play others?

My problem is that i play a sound, wich is a sound object reference, and depending on the selection, an specific song plays, but i don’t know how to stop a song and play another one different or something like that, i can just play a song and wait for it to end or make it a loop, if anyone has any code, nodes or any tips to help me, i would apreciate it.

Play your song on an Audio Component and you can call Stop when you need to (or Play or adjust Volume, etc.).