How to not allow diagonal movement?

Where I can find this option??