Aligning Sound Effects with Player-Character Animation

Hi, I've been trying to align sound effects with my player-character animation. So far I have four common events with a conditional branch set for "push button" - four events for four directions. This works okay. But when I use diagonals it plays two sound effects instead of one.

I'm wondering if there's a script to check for movement in ANY direction, instead of using four events for four directions.

Thanks for responding!
Input.isPressed("keyName") checks if a button is pressed, and returns true or false and Input._dir8 returns a number equal to the direction being pressed to include diagonals. I hope this helps.
I appreciate the response! I'm kind of new to this and I'm not sure how to use that information. Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/aligning-sound-effects-with-player-character-animation.86397/