# Function: clear() (/jsdoc/pixi-vn/index/namespaces/Game/functions/clear)



\> **clear**(): `void`

Defined in: [src/index.ts:204](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/index.ts#L204)

Clear all game data. This function is used to reset the game.

Returns [#returns]

`void`
