Description
Set a specific value to a variable in the Variables
panel of Kinetic Designer.
Syntax
designer.setVariableValue("VARIABLE NAME", VALUE);
Parameters
Parameter | Type | Description |
---|---|---|
VARIABLE NAME |
String | Specify the name of the Variable to assign the value to |
VALUE |
Variant | Set to value to the variable. Note the value can be of different type, as described below |
Return
This function does not return anything.
Types
This works with the following types : int
, float
, double
, time
, string
, color
, Vector 2D
, Vector 3D
, Vector 4D
, Array
Need more help with this?
Don’t hesitate to contact us here.