GetNode()
Purpose #
Retrieves the node object with the given index within a layer. If the node is not found, it returns an object of type undefined.
Syntax #
object GetNode(int node_index);
Parameters
node_index | The array index of the layer. |
returns Node Object if found or, if not found, object of type undefined.
Example #
function Update()
{
layer = Document.GetLayer(0);
node = layer.GetNode(0);
}