Add an animation to the animation queue.
1 string anim
the animation name.
2 number speed
the playback speed.