making an object rotate to match Ray line?

hey all, ok so ive got a small setup which involves the player dragging back a set amount, then releasing to fire an object in a set direction, when the player drags back, depending on rotation and position, a ray line is drawn, as seen here

now i have an arrow that stetches out scale as the player drags the mouse back, but what im trying to get is the arrow to rotate in order to face the right direction, is there a way i can make the arrow rotate to match the same direction the ray line is pointing.

the debug im using to display the line is this
Debug.DrawRay(transform.position, forceVector / magMultiplier, currentColor);

Assuming you built your arrow so that the tip is facing forward (side facing positive ā€˜Zā€™ when the rotation is (0,0,0)) , and that the top is looking at positive ā€˜Yā€™, you can rotate your arrow by simply:

transform.LookAt(centerOfCircle);

where centerOfCircle is either the position or the transform of your pivot for your drag.