I don't know if your question has to do with Construct Classic of Construct 2, but I would either
A) make an event that checks whether or not the jumping animation is playing as a condition for other actions
B) using some type of private variable to prevent other animations from playing, but this is essentially the same as A