# Function: get() (/jsdoc/pixi-vn/index/namespaces/RegisteredLabels/functions/get)



\> **get**\<`T`>(`id`): `T` | `undefined`

Defined in: [src/narration/decorators/RegisteredLabels.ts:21](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/narration/decorators/RegisteredLabels.ts#L21)

Gets a label by its id

Type Parameters [#type-parameters]

T [#t]

`T` = [`LabelAbstract`](/jsdoc/pixi-vn/index/classes/LabelAbstract)\<`any`, \{ }, `number`>

Parameters [#parameters]

id [#id]

`string`

The id of the label

Returns [#returns]

`T` | `undefined`

The label or undefined if it does not exist
