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.
if(!Greenfoot.isKeyDown(right || left))
{
setImage("stand-2.png");
}


