i am working on a game where i want to stop the other animations and just play the single animation

ok , Let me explain you with an example so that my question can be clarifies to you

for e.g. i am pressing ‘R’ in the game and if i press ‘W’ it will starting to walk but the drinking animation is still going on i want that if the drinking animation is going on then there shouldn’t be any animation working like walking