every anim."somefunction" has an error do i have to use an animation player insted of an animatedsprite2d