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



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

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

Gets a label by its id

## Type Parameters [#type-parameters]

### T [#t]

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

### T2 [#t2]

`T2` *extends* `string` = `string`

## Parameters [#parameters]

### id [#id]

`T2`

The id of the label

## Returns [#returns]

`T` | `undefined`

The label or undefined if it does not exist
