Adjust Angle To Line

Use this function to rotate an element in the direction of a line clicked in the XY plane.