problema hora de usar animação

olhe aqui.

crie uma “state machine” para definir a animação.