Garry's Mod Wiki

Revision Difference

Panel:SetAnimationEnabled#550868

<function name="SetAnimationEnabled" parent="Panel" type="classfunc"> <description>Enables or disables animations for the panel object by overriding the <page>PANEL:AnimationThink</page> hook to nil and back.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="enable" type="boolean">Whether to enable or disable animations.</arg> </args> </function>