GetTransformArrayColour()
Purpose #
Gets the colour of an element from an Exposable Array node.
Syntax #
object GetTransformArrayColour(int element_id);
Parameters
element_id | The element ID to get. |
Example #
function Update()
{
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Exposable Array");
colourList = node.GetTransformArrayColour(0);
for(i = 0; i < colourList.length; ++i)
{
Log("colourList[" + i + "]=" + colourList[i]);
}
}