SetInt()
Purpose #
Sets the value of an integer property in a node.
Syntax #
void SetInt(String property_name, int value);
Parameters
property_name | 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);
}
Checkboxes are integer properties.