---
url: https://cri-middleware.github.io/SSPlayerForWeb/api/@spritestudio/ssplayer-pixi-ui/functions/labelFrameOf.md
---
# Function: labelFrameOf()

> **labelFrameOf**(`table`, `label`): `number` | `null`

Defined in: packages/ssplayer-core/dist/index.d.ts:3097

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`](../interfaces/SSLabelTable.md)

### label

`string`

## Returns

`number` | `null`
