Change a background image when the slider switches

Hey everyone, I have this slider on the left side, which slides every couple of seconds, and this huge knock out text that had a background image, and a bit of custom code to take care of the knocking out.

I’m looking for a way to get a switch of the background image triggered by the switch of the slider… This is a tricky one… Any solution ?

Thanks everyone! Stay safe!