Add animation to object