app.project.item(index).layer(index).propertySpec.keyTime(keyIndex)
app.project.item(index).layer(index).propertySpec.keyTime(markerComment)
Description
Finds the specified keyframe or marker and returns the time at which it occurs. 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.