setSelectedAtKey()

app.project.item(index).layer(index).propertySpec.setSelectedAtKey(keyIndex,onOff)

Description

Selects or deselects the specified keyframe.

Parameters

keyIndex The index for the keyframe. An integer in the range [1..numKeys], as returned by the addKey or nearest-KeyIndex method.
onOff True to select the keyframe, false to deselect it.

Returns

Nothing.

Other Tags

Posted in Property object and tagged , , .