Stop a character from walking diagonally

How could I do this?
I’m currently using simple motion along with Character physics

EDIT: Another question;

Assuming the character IS walking diagonally, how to I stop ANY of the animations from spawning if two or more keys are being pressed?

Use states.

E.g.
States: Idle, forward, turn left, turn right
or
States: idle, forward, backward, move left, move right

The trick is to avoid to play two directions at the same time (e.g. Left + Forward)

Ah, it was easily fixable by making the motion “Character” along with the physics…
Doesn’t solve the animation though. Pressing 2 directions at once makes it freak out, and I’m not sure how to use states

This looks VERY helpful, thank you :slight_smile: