How to tell if an actor is moving backwards or forwards?

thanks.

this helped me today. so simple to get in the end.