How to add an animation to a widget

I have created a widget to display my score, i have it working, but I want to display next to the score an animation of a spinning coin. I have a sprite of the spinning coin animation, but I dont know if i can display that in a widget. What should I do?