Notch Notch Manual 0.9.23
 Light | Dark
SetNodeGraphPosition()

SetNodeGraphPosition()

Purpose #

Sets the position of a node in the nodegraph.

Syntax #

void SetNodeGraphPosition(int x_pos, int y_pos);

Parameters

x_posThe X position.
y_posThe Y position.

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Image 2D");
    node.SetNodeGraphPosition(100, 100);
}