Have you tried OmniCC ?
https://www.wowinterface.com/downloa...36-OmniCC.html
I used to use that alot in my raid running days so that I could see when the dot was off my current target so I knew I could click on it again. It's reasonably up to date and hopefully will still work and be updated going forward.
This is the closest to what you are asking so you might want to see if it still works and if not how they did it to give you ideas on how you can implement your own version.
https://www.wowinterface.com/downloa...9-Dotties.html