How do I Access the rotator of an Actor via C++

I’m fairly new to UE4 in general and C++, so I just need to know how to get access to the Rotator, or methods for Rotating actors.

you can call GetActorRotation() to return a rotator. You can call SetActorRotation() to set the actors rotation in the world. Heres the link to the Rotator page for more info on the other methods on Rotator Hope this helps!

Thank you so much!
Just to clarify, does GetActorRotation() return the actual Rotator that’s being used by the actor? Or does it return a Rotator which has the same values as the Actor?

Rotators are not pointers by default so you will be getting a new rotator with the same values