As manarsoft said, use the set animation action under the sprite when the key is pressed to run. Also for most platformers (which I assume you are making) you only need 1 animation for running, and then set "mirror sprite" when walking in one direction, and "don't mirror" for the other.
Hope this helps