SetInt()
Updated: 4 Mar 2024
Updated: 4 Mar 2024
Sets the value of an integer property in a node. Returns a bool to indicate whether the value for successfully set or not.
bool SetInt(String property_name, int value);
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. |
function Update()
{
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Frame Buffer");
var wasSet = node.SetInt("Attributes.Frame Grab Active", 1);
}
Checkboxes are integer properties. Selection boxes and dropdowns are integer properties.