Using If/Then statements to play audio clips
I've searched around and there's nothing that was clear or easy for me to apply to my projects. What I'd like to accomplish is when I click on a shape to reveal a score, it will play a ding sound. If the score is 0, then a buzzer sound would play instead. Another project would be click a button to change font color for text boxes, play a ding sound. If it couldn't find any text to change, play a buzzer. If this is all possible, would you be able to provide some code for me to adjust and apply to my projects? Thanks for your time!