Workshop.codes
Create

Set Global Variable Last updated November 26, 2024

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.

Workshop.codes