Notch Notch Manual 0.9.23
 Light | Dark


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);


node_indexThe 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);