Garry's Mod Wiki

PANEL:AnimationThink

Description

Called every frame unless Panel:IsVisible is set to false. Similar to PANEL:Think, but can be disabled by Panel:SetAnimationEnabled as explained below.

If you are overriding this, you must call Panel:AnimationThinkInternal every frame, else animations will cease to work.

If you want to "disable" this hook with Panel:SetAnimationEnabled, you must call it after defining this hook. Once disabled, a custom hook will not be re-enabled by Panel:SetAnimationEnabled again - the hook will have to be re-defined.

Page Links


Special Pages


Wikis

?

Render Time: 27ms

DB GetPage 3
Generate Html 0
SaveChanges (1) 8
Render Body 0
Render Sidebar 12