Fixed it! now the animation works