Play a custom sound when a button is pressed and a condition is met

I have a form that is filled out, and if the user has entered the right vale then there is a “success” message. I want to add a custom sound to this action. I know how to insert an Audio Component but I want a way to trigger it to play when the action is achieved. Ideas?

I don’t think you can play custom sounds (i.e an audio file), just to be clear.

You might only be able to play the sounds available in the Play Sound action.

3 Likes

As an alternative, is there a way to have a sound play that activates another trigger? For example, I could have a logic flow that checks a condition as true or false, changes the sound file that is available, and then a workflow is triggered when the file is played?

I assume you just want to play different kind of sounds when a value is true or false, and do some other stuff? That should be doable within a single workflow.

But can it be my custom sound?

For example, I’ll show a button to play a sound. If a condition is True, then the button will be for the custom sound I want. If the condition is False, it will be for another sound. But I want the pressing of the button (which would be the “play audio” button from the component) to trigger a Workflow.

In this particular context, it’s a short game that I want to play a fun sound if the player gets the answer right.

No, I don’t think so, as I noted above.

I’d use the Play Sound action.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.