When my actor ( which is constintly in motion, via move(4) ) goes to the left side of the world is upside down, i want to make it so that when my Actor is moving in the degrees 181 to 359 to face left, using an image i have so setImage(leftImage) and in vice versa so when i turn left to right the image reverses to what it was before. how do i test for direction so i can change it up?

