How to use IsPlaying to set the value of a variable?

That’s a great idea. I’ll give it a try.

Thank you so much for sticking with my problem for all this while. I really appreciate it.