get

abstract fun get(key: String, target: VariableTarget?): String

Get a text variable.

Return

the text 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.


open fun get(key: String): String

Get the shown value of a text variable. Same as get with no target.