I’m nearly done with my music application.
The five buttons on the right hand side should not play at the same time.
Currently if multiple buttons out of the 5 are clicked they play together. Is there a way to make sure only the button that is clicked first plays. And after that finishes the next button can be played.
Editor - https://playcanvas.com/editor/scene/896589
Code Editor - https://playcanvas.com/editor/code/674640?tabs=29641962
The JS is called Audio.js under Audio Clips > AudioScripts
Thank you