Notch Notch Manual 0.9.23
 Light | Dark
RemoveInput()

RemoveInput()

Purpose #

Deletes an input connection between a node and a property.

Syntax #

void RemoveInput(object node, String property_name);

Parameters

nodeThe node to remove an input from.
property_nameThe name of the property to remove an input to.

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Image 2D");
    mathNode = layer.FindNode("Math Modifier");
    node.RemoveInput(mathNode, "Position X");
}