Notch Notch Manual 0.9.23
 Light | Dark
GetNumNodes()

GetNumNodes()

Purpose #

Returns the number of nodes in the layer.

Syntax #

int GetNumNodes();
returns an integer of the number of nodes in the layer.

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    var x = layer.GetNumNodes();
}