MOBA-like target /range indicators?

I am trying your solution at the moment. I still can’t seem to find an easy way to ‘define’ the rotation and location so that the widget ‘connects’ two points! Say the character and the mouse!
Any idea how to approach that?