Rotating Part Based On Mouse

How could I rotate this arrow based off the player’s mouse position.
I remember doing something like this awhile ago but have completely forgot.

Examples:
image
image
image

image

use cframe.lookat and mouse.hit

I was trying something like this around 30 minutes ago
Setting CircleUIArrow (the arrow)'s rotation.

		print(Vector3.new(CFrame.lookAt(Mouse.Hit.XVector,Mouse.Hit.YVector,Mouse.Hit.ZVector).Rotation))