Skip to content

Set Global Variable

Variable, Value

Description

Stores a value into a global variable, which is a variable that belongs to the game itself.

Snippet

Set Global Variable(variableName, 0);

Properties

Returns: Void Parameters: ==Variable==, ==Value==

==Variable== Type: Global Variable, Default: A Specifies which global variable to store the value into.

==Value== Type: Object | Array, Default: Number The value that will be stored.

Type to search…

↑↓ navigate↵ selectEsc close