Skip to content

Function: labelFrameOf() ​

labelFrameOf(table, label): number | null

Defined in: src/Labels.ts:51

The frame label marks in table, or null when the animation has no such label. Names match exactly.

_start and _end are the animation's first and last frame, as they are in SpriteStudio, where they are never in the label table; a real label of the same name wins.

Parameters ​

table ​

SSLabelTable

label ​

string

Returns ​

number | null