# Interface: StorageFlagsInterface (/pixi-vn/index/interfaces/StorageFlagsInterface)



Defined in: [src/storage/interfaces/StorageFlagsInterface.ts:1](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/storage/interfaces/StorageFlagsInterface.ts#L1)

## Methods [#methods]

### get() [#get]

\> **get**(`key`): `boolean`

Defined in: [src/storage/interfaces/StorageFlagsInterface.ts:13](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/storage/interfaces/StorageFlagsInterface.ts#L13)

Get the value of a flag

#### Parameters [#parameters]

##### key [#key]

`string`

The name of the flag

#### Returns [#returns]

`boolean`

The value of the flag

***

### set() [#set]

\> **set**(`key`, `value`): `void`

Defined in: [src/storage/interfaces/StorageFlagsInterface.ts:7](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/storage/interfaces/StorageFlagsInterface.ts#L7)

Set a flag to true or false.

#### Parameters [#parameters-1]

##### key [#key-1]

`string`

The name of the flag

##### value [#value]

`boolean`

The value of the flag.

#### Returns [#returns-1]

`void`
