Skip to main content
ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →
State Machines & Logic · MCP Tool

add_transition

Adds a transition between states with optional delay and conditions.

Tool Overview & Agent Execution

add_transition is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to adds a transition between states with optional delay and conditions.. 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:

prompt
"Add a 'hover' state and wire a spring transition from 'idle' in artboard 'Card'"

Tool Parameters & Input Schema

ParameterTypeRequiredDescription
conditionsarrayOptionalThe conditions parameter for add_transition.
delaynumberOptionalDelay before transition starts
durationnumberOptionalTransition duration in seconds
pathstringYesThe path parameter for add_transition.
sourceStateIdstringYesThe sourceStateId parameter for add_transition.
targetStateIdstringYesThe targetStateId parameter for add_transition.

More State Machines & Logic Tools

Build & Review Motion Visually

Let Claude or Cursor run add_transition, then fine-tune timing, spring physics, and export ready-to-ship code in ExodeUI.