Auto play sound after a certain condition

I don’t want a button to play sound after I click. I want a sound will play after the progress bar get 100%

I’m not aware of any way to do this. Playing a sound is an action, and actions can only be triggered when a user taps an actionable component.

But I want to behave this like an alarm that plays auto

What controls that progress bar for you? Only thing that would work is you set up an action based on the data of the progress bar and set the sound to play when the action makes the progress 100%.