setVariable()
Last updated 10/05/2023
The setVariable()
sets the value of a global variable. It sets the value of a named global variable with a new value on the Five
object.
Available
Client
and Server
Function Signature
setVariable(name: string, value: any) : void;
Parameter | Type | Description |
---|---|---|
name | string | Name of the variable. |
value | any | Value of the variable. |