I have a cat that if it reaches the edge on the left (all on its own without the keydown method) I want it to switch images so it looks like its going right, I want to also do it so when it reaches the edge of the screen on the bottom it switches the image to "up" and when it reaches the top it switches the image so the cat is facing down. I also wanted to add the random number method to it so it turns randomly, but it seems like I can't really switch the images when it hits a certain edge with the random number, I don't even know if this is possible, maybe with an if statement such as if y coordinate is this # switch image?
