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



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

Defined in: [src/characters/decorators/character-decorator.ts:17](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/characters/decorators/character-decorator.ts#L17)

is a function that returns the character by the id

Type Parameters [#type-parameters]

T [#t]

`T` = `CharacterInterface`

Parameters [#parameters]

id [#id]

`string`

is the id of the character

Returns [#returns]

`T` | `undefined`

the character

Example [#example]

```typescript
const liam = RegisteredCharacters.get('liam');
```
