setVariable()
Last updated 31/01/2024
The setVariable()
is a function on the Five
object that sets the value of a global variable. It sets the value of a named global variable with a new value on
the variable
property 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 |