i'm trying to make it so if the player is not holding down left or right key they character will change its image into a standing position. My teacher told me i could use || for or but i got an error.
1 2 3 4 | if (!Greenfoot.isKeyDown(right || left)) { setImage( "stand-2.png" ); } |