Play + Pause, same button

There’s an example of this in the 4th post.

i.e:
if play.jpg
set bg_image to pause.jpg
else
set bg_image to play.jpg