Purpose

Sets the value of an integer property in a node.

Syntax

void SetInt(String PropertyName, int value);

  • PropertyName : the property within the node. Starts with GroupName.Property e.g. Transform.Position X
  • value: the integer value the property is to be set to

Example

function Update()  { 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Frame Buffer");
    node.SetInt("Attributes.Frame Grab Active", 1);
}