If noKey.isDown?

I have my hero, and hes got standing, moving, and jumping frames.
When I do Key.RIGHT or Key.LEFT, it goes to moving, and Key.UP for jumping. How do I get it to return to standing if no key is pressed. (Or alternativley, have the frame only there while it is down). Thanks a lot!