Purpose

Gets the colour of an element from an Exposable Transform Array node.

Syntax

object GetTransformArrayColour(int elementID);

  • elementID: The element ID to get.

Example

function Update()  { 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Exposable Transform Array");
    colourList = node.GetTransformArrayColour(0);
    for(i = 0; i < colourList.length; ++i) {
        Log("colourList[" + i + "]=" + colourList[i]);
    }
}