Notch Notch Manual 0.9.23
 Light | Dark
GetNodes()

GetNodes()

Purpose #

Retrieves a list of node objects within a layer.

Syntax #

object GetNodes();
returns Node Object list.

Example #

function Update()
{ 
    layer = Document.GetLayer(0);
    nodeList = layer.GetNodes();
    for(i = 0; i < nodeList.length; ++i)
    {
        var node = nodeList[i];
    }
}