Notch Notch Manual 0.9.23
 Light | Dark
GetExposedPropertyValue()

GetExposedPropertyValue()

Purpose #

Returns the float value of an exposed property.

Syntax #

float GetExposedPropertyValue(String exposed_unique_identifier);

Parameters

exposed_unique_identifierThe unique identifier as set in the Exposed Parameter Settings.

returns the float value of the exposed property or undefined if unable to find the parameter.

Example #

function Update()
{ 
    var x = Document.GetExposedPropertyValue("Position Y::Transform::8a3535a2-ca67-11e5-9c04-184f32f761cc");     
}