# 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/efc9536feda21bc17c50370f5e35fd8d8d88843a/src/index.ts#L204)

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

## Returns [#returns]

`void`
