How can i implement an object that follows the mouse that is rotating around character

thank you a lot for this documentation, with it i accomplished what i wanted, now i will go to making a system that moves it with mouse as i said before)
any tips beforehand?