How do you make one button play and stop music?

؟How do make one button play and stop music what commands to work

StopStartPlayer.aia (1.4 MB)

blocks

Test the .Text value of the button.

If it says Play, start playing and change its .Text to Stop
Otherwise, stop playing and change the .Text to Play

See the Player component for starting and stopping blocks.

Something like this,