check anim beforehand