STATE_animation_delete
Note that you cant use the handle after it was deleted A good practice will be like that: STATE_animation_delete(my_animation); my_animation=NULL;