Purpose

Sets the value of a float property in a node.

Syntax

void SetFloat(String PropertyName, float value);

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

Example

function Update()  { 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Frame Buffer");
    node.SetFloat("Transform.Position X", 1.3);
}