Panel/ColorTo

From Garry's Mod
Jump to: navigation, search
 Panel:ColorTo( )

Contents

Description

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

Arguments

table color

The color to fade to

Arguments

number length

Length of the animation

Arguments

number delay

Delay before start fading

Arguments

function callback

Function to execute when finished
Personal tools
Navigation