Skip to content

Api > Material > GetColorArray()


Material.GetColorArray(string name)⚓︎

Get a named color array.

Parameters:⚓︎

Name Type Description
name string The name of the property.

Returns:⚓︎

type Description
Color[] the named color array.

Usage⚓︎

---@type Material
local material;

---@type string
local name;


local val0 = material.GetColorArray(name)