# Function: getVariable() (/jsdoc/pixi-vn/index/namespaces/StorageRegistry/functions/getVariable)



\> **getVariable**\<`T`>(`prefix`, `key`): `T` | `undefined`

Defined in: [src/storage/StorageRegistry.ts:40](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/storage/StorageRegistry.ts#L40)

Type Parameters [#type-parameters]

T [#t]

`T` = [`StorageElementType`](/jsdoc/pixi-vn/index/type-aliases/StorageElementType)

Parameters [#parameters]

prefix [#prefix]

`string`

key [#key]

`string`

Returns [#returns]

`T` | `undefined`
