SetNodeGraphPosition()
Updated: 4 Dec 2023
Updated: 4 Dec 2023
Sets the position of a node in the nodegraph.
void SetNodeGraphPosition(int x_pos, int y_pos);
x_pos | The X position. |
y_pos | The Y position. |
function Update()
{
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Image 2D");
node.SetNodeGraphPosition(100, 100);
}