Notch Notch Manual 0.9.23
 Light | Dark
GetString()

GetString()

Purpose #

Retrieves the value of a string property within a node.

Syntax #

String GetString(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("MyTextNode");
    value = node.GetString("Attributes.Text String");
}