DModelPanel animations

Having a small problem with DModelPanels regarding their animations.
I’m trying to set an animation for the model that is displayed but when I use the code shown below it just uses the default ‘standing’ animation, rather than the one I’ve set.
Any advice? Cheers



local icon = vgui.Create("DModelPanel", DermaPanel)
	icon:SetPos(0, 0)
	icon:SetSize(100, 100)
	icon:SetModel( "models/player/alyx.mdl" )
	icon.Entity:SetAnimation(ACT_GMOD_TAUNT_DANCE) 


Try SetSequence instead of SetAnimation.