Purpose

Gets the position, rotation and scale of an element from an Exposable Transform Array node.

Syntax

object GetTransformArrayPRS(int elementID);

  • elementID: The element ID to get.

Example

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