keyValue()

app.project.item(index).layer(index).propertySpec.keyValue(keyIndex)
app.project.item(index).layer(index).propertySpec.keyValue(markerComment)

Description

Finds the specified keyframe or marker and returns its current value.

If no keyframe or marker can be found that matches the argument, this method generates an exception, and an error is displayed.

Parameters

keyIndexThe index for the keyframe. An integer in the range [1..numKeys], as returned by the addKey or nearestKeyIndex method.

markerComment The comment string attached to a marker (see MarkerValue comment attribute” ).

Returns

Floating-point value for keyframes, MarkerValue object for markers.

Other Tags

Posted in Property object and tagged , , , , , , , , , , .