switch_variable_mode
Switch the variable mode on a Figma node to control which mode values apply to bound variables. Specify the collection and the mode to switch to.
Instructions
Switch the variable mode on a node for a specific collection. This changes which mode's values are used for bound variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to switch mode on | |
| collectionId | Yes | The ID of the variable collection | |
| modeId | Yes | The ID of the mode to switch to |