FirstKey

Description

Moves to the first key frame for the given parameters.

Scripting Syntax

oDouble = FirstKey( [InputObjs], [Time], [Layer] );

Return Value

Returns the frame number of the first key frame as a Double. If there is no key then the following is returned: 1.#INF for C++, "1.#INF" for VBScript and Number.POSITIVE_INFINITY for JScript.

Parameters

Parameter Type Description
InputObjs String List of animatable parameters (for example "cone*/kine.local.pos").

Default Value: Currently selected and marked parameters

Time Number Not used.

Default Value: Current frame

Layer Integer Animation layer

Default Value: Current animation layer (-1)

See Also

AddFCurve RemoveAnimation RemoveAllAnimation SaveKey RemoveKey PrevKey LastKey FCurve.Keys