Search Docs
Loading...
Skip to content

Type Alias: VariableTarget

type VariableTarget =
| "Default"
| {
valueSet: ValueSetId;
};

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

  • 'Default': the default value that the scene saves.
  • { valueSet }: the value of the variable in this value set.