Code for rotaing an animation using coding only?

Um hello people of the world out there
, I need a little help in getting a code about rotating an actors animation
and maybe perhaps a simple code that reverses the current position in which your actor's animation is facing?
from left to right vice versa I would really appretiate your help guys
Thanx in adavance
.

and maybe perhaps a simple code that reverses the current position in which your actor's animation is facing?
from left to right vice versa I would really appretiate your help guys
Thanx in adavance
