FindNode()
Purpose #
Finds the node object with the given name within a layer. If the node is not found, it returns an object of type undefined.
Syntax #
object FindNode(String node_name);
Parameters
node_name | The name of the node. |
returns Node Object if found or, if not found, object of type undefined.
Example #
function Update()
{
layer = Document.GetLayer(0);
node = layer.FindNode("Image 2D");
}