bind_variable
RECOMMENDED STATE BINDING: Binds a state variable directly to an object property (position, scale, opacity, etc.) with optional range/expression mapping. Lightweight and reactive.
bind_variable is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to recommended state binding: binds a state variable directly to an object property (position, scale, opacity, etc.) with optional range/expression mapping. lightweight and reactive.. It directly inspects and modifies local .exode JSON files with precision without manual UI tweaking.
Example Prompt for Claude Code & Cursor
Give this instruction to your AI coding agent to execute this tool on your active .exode workspace:
"Use bind_variable to configure the motion properties in my active .exode workspace"Tool Parameters & Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
| path | string | Yes | The path parameter for bind_variable. |
| sourceVariableId | string | Yes | The sourceVariableId parameter for bind_variable. |
| targetObjectId | string | Yes | The targetObjectId parameter for bind_variable. |
| targetProperty | string | Yes | The targetProperty parameter for bind_variable. |
| transform | object | Optional | The transform parameter for bind_variable. |
| x | number | Optional | The x parameter for bind_variable. |
| y | number | Optional | The y parameter for bind_variable. |
More State Machines & Logic Tools
Build & Review Motion Visually
Let Claude or Cursor run bind_variable, then fine-tune timing, spring physics, and export ready-to-ship code in ExodeUI.