Hello. I have a similar problem. When my character is running and I press "F" the attack animation simply freezes on the first frame until I let go of "F". I'm trying to do it with instance variables, but I fear I'm doing them wrong or there is a logic problem.