add getDelta to anim object