set_variable_mode
Set a node to use a specific mode of a variable collection, controlling which variable values it displays.
Instructions
Set a node to use a specific mode of a variable collection.
This controls which variable values the node displays. For example, set a frame to use "Dark" mode of the "Theme" collection so all bound variables show dark values.
Examples: set_variable_mode({node: "1:2", collection: "VariableCollectionId:1:2", mode: "1:1"}) set_variable_mode({node: "1:5", collection: "VariableCollectionId:1:3", mode: "1:2"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node ID (e.g. "1:2") | |
| collection | Yes | VariableCollectionId | |
| mode | Yes | Mode id (e.g. "1:1") |