storage.clear

Section: Storage

What it does

storage.clear acts on storage: it clears. It takes no arguments.

The API says: all game_* keys

Signature

storage.clear()

Arguments

It takes none.

Example · generated

function start() {  storage.clear();}

storage.clear is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.

6 members in storage