# Get The Angle Of Two Vector3 In Unity

The angle returned of  Vector3.Angle is always the acute angle between the two vector (ie, the smaller of the two possible angles between them and never greater than 180 degrees).

So the angle is the same no matter if "to the left" or "to the right". If you want to know the side, the cross product may help you.

Supposing that both vectors are roughly in the horizontal plane (XZ), the Y component of their cross product may define the sign - for instance:

 function SignedAngle(a: Vector3, b: Vector3){
var angle = Vector3.Angle(a, b); // calculate angle
// assume the sign of the cross product's Y component:
return angle * Mathf.Sign(Vector3.Cross(a, b).y);
}