Garry's Mod Wiki

Panel:SetAnimationEnabled

  Panel:SetAnimationEnabled( boolean enable )

Description

Enables or disables animations for the panel object by overriding the PANEL:AnimationThink hook to nil and back.

Arguments

1 boolean enable
Whether to enable or disable animations.