A few months ago I set the Desktop Picture on my MacBook Pro to pull from my Favourites in Photos and then to change the picture randomly every 5 minutes.
That created the problem of wanting to see the picture hidden behind my active window. Keyboard Maestro took care of that.