Search Docs
Loading...
Skip to content

Interface: VariableOptions

Experimental

Selects the layer that a variable call reads or writes. Experimental: this API may change in a minor release.

Properties#

Property Type Description
target? VariableTarget Experimental The layer. When unset, a call uses the layer whose value the scene shows: the active value set when it holds the key, else the default value. A getter then returns the value that a setter wrote. remove without a target removes the variable from every layer.