get Number
Get a number variable. Experimental: this API may change in a minor release.
Return
the number value of the variable.
Parameters
key
the variable's key.
target
the layer to read. null returns the value that the scene shows: the value of the active value set, else the default value.
Get the shown value of a number variable. Same as getNumber with no target.