Animation gets cancelled when pressing the same or different key?

Okay, now you can use a boolean variable. For instance; when animation started to play, set this boolean to true and when it finished set it false. Before the animation’s play, you can check this boolean via “Branch” node. If it is false(not playing) you can play it.