Script Function Reference

Function Reference >Script Function Reference >Function Manipulation>setFunctionColor

setFunctionColor

setFunctionColor sets the color of a function.

setFunctionColor(fn, color)

Parameters

fn 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 Value

setFunctionColor doesn't return anything

Example

function example()
	setFunctionColor("f", RGB(128, 255, 255))
end