make Local Var Slot
fun makeLocalVarSlot(name: String = IdGenerator.makeRandomId(6), value: JsonPrimitive = JsonPrimitive(""), cloud: Boolean = false): VariableSlot
Creates a local variable slot for use in sprites.
Parameters
name
The name of the variable.
value
The initial value.
cloud
Whether it is a cloud variable.