2D top down - Disable diagonal movement

Just as the title says. was wondering how I can disable two buttons from being pressed at the same time making the character move diagonal? tried using bool’s to counter measure it but It didn’t go as planned :slight_smile:

Thank you!

Ryscale