Garry's Mod Wiki

Panel:ColorTo

Panel:ColorTo( table color, number length, number delay, function callback )

Description

Fades panels color to specified one. It won't work unless panel has SetColor function.

Arguments

1 table color
The color to fade to
2 number length
Length of the animation
3 number delay
Delay before start fading
4 function callback
Function to execute when finished

Page Links


Special Pages


Wikis

?

Render Time: 42ms

DB GetPage 4
Generate Html 11
SaveChanges (1) 12
Render Body 0
Render Sidebar 13