GetEnvelopeValue()
Updated: 4 Dec 2023
Updated: 4 Dec 2023
Retrieves the calculated value (post modifiers and keyframes) of a float property in a node.
The retrieved value is from the last frame.
float GetEnvelopeValue(String field_name);
field_name | the field name (NB: Does not require the group name) |
returns a float of the resulting calculated value from the last frame.
function Update()
{
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Frame Buffer");
value = node.GetEnvelopeValue("Position X");
}