Add widget to certain length from player and rotate it.

how do I make widget appear certain length away from my player and update it’s location based on the angle I got from player and mouse position ?