Notch Notch Manual 0.9.23
 Light | Dark
GetFloat()

GetFloat()

Purpose #

Retrieves the value of a float property in a node.

Syntax #

float GetFloat(String property_name);

Parameters

property_nameThe property within the node. Starts with <GroupName>.<Property> e.g. 'Transform.Position X'

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Frame Buffer");
    value = node.GetFloat('Transform.Position X');
}