how to make animations insantly transition

so in my game I have a walk anim and an idle anim and when you are walking it plays the walk anim as soon as the idle anim finishes, and vice versa, how do I get the animation to play instantly instead of waiting to finish before transitioning?

Hey. Have a look on the animation properties, there is a check box for “Has Exit Time”. Make sure this box is NOT ticked

oooh ok thx