Hi again!
My query is about whether or not you can check if the actors image is looking left, or looking right (in a sense).
The code I'm using to flip the actors image is this:
But if I use this in the move() method, I could be pressing the right button and it would flip the image every time that I press it.
So again, my question is about whether or not you can check what direction the image is facing.
Any help would be appreciated! Thanks!
GreenfootImage img = getImage(); img.mirrorVertically(); setImage(img);
