Search Docs
Loading...
Skip to content

Interface: VariableOptions

Selects the layer that a variable call reads or writes. Mirrors @cesdk/node’s bindings/wasm/js_web/src/types/variable.ts.

Properties#

Property Type Description
target? VariableTarget 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.