Script Function ReferenceFunction Reference >Script Function Reference >Function Manipulation>setFunctionColorsetFunctionColorsetFunctionColor sets the color of a function.
setFunctionColor(fn, color)
Parametersfn can either be a string with name of a function or a function table generated with getFunction or createFunction.color is a color table. Return ValuesetFunctionColor doesn't return anythingExamplefunction example() setFunctionColor("f", RGB(128, 255, 255)) end |