I use transform.rotatearound to rotate an object. How can i make it just rotate once?

What I want is detect point A. how can i make it ?
You can just do the math if your object moves at a constant speed. If it rotates 1 degree, then after 360 iterations, you’ve circled the object.
(writing example in C#)
float totaldegrees;
float angle = 1f;
if(totaldegrees < 360)
{
rotatearound(vector3,vector3,angle)
totaldegrees=totaldegrees+angle;
}
thank you Bot