setValueAtTime()

app.project.item(index).layer(index).propertySpec.setValueAtTime(time,newValue)

Description

Sets the value of a keyframe at the specified time. Creates a new keyframe for the named property, if one does not currently exist for the specified time, and sets its value.

Parameters

time The time in seconds, a floating-point value. The beginning of the composition is 0.
ne wVa lue A value appropriate for the type of property being set; see Property propertyValueType attribute” .

Returns

Nothing.

Other Tags

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