Aiming

So i have a shoot function but i don’t know how to make it so i can aim it with my mouse, any ideas how

idk