I set tree buttons for playing, pausing and reseting the music. But when i click the pause button, the music starts playing from the beginning. Why is this happening? I want it to continue the song from the moment i paused it but idk how. Any advise?
Of course, it is not a mistake to define the Player.Source in the Button.Click event.
If there are several sounds that should be played via buttons, then the respective player source must be defined in the Button.Click event. However, if the source is redefined with each click, the player is released (and the previously paused sound is also reset to the beginning). So you should do it like this: