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 →
Canvas & Workspace Management · MCP Tool

add_constraint

Adds a physical or transformation constraint between objects.

Tool Overview & Agent Execution

add_constraint is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to adds a physical or transformation constraint between objects.. 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
"Use add_constraint to configure the motion properties in my active .exode workspace"

Tool Parameters & Input Schema

ParameterTypeRequiredDescription
boneCountnumberOptionalThe boneCount parameter for add_constraint.
copyXbooleanOptionalThe copyX parameter for add_constraint.
copyYbooleanOptionalThe copyY parameter for add_constraint.
dampingnumberOptionalThe damping parameter for add_constraint.
distancenumberOptionalThe distance parameter for add_constraint.
invertDirectionbooleanOptionalThe invertDirection parameter for add_constraint.
massnumberOptionalThe mass parameter for add_constraint.
modestringOptionalThe mode parameter for add_constraint.
objectIdstringYesThe objectId parameter for add_constraint.
offsetRotationnumberOptionalThe offsetRotation parameter for add_constraint.
offsetXnumberOptionalThe offsetX parameter for add_constraint.
offsetYnumberOptionalThe offsetY parameter for add_constraint.
orientbooleanOptionalThe orient parameter for add_constraint.
pathstringYesThe path parameter for add_constraint.
stiffnessnumberOptionalThe stiffness parameter for add_constraint.
strengthnumberOptionalThe strength parameter for add_constraint.
targetIdstringYesThe targetId parameter for add_constraint.
typestringYesThe type parameter for add_constraint.
useSpringbooleanOptionalThe useSpring parameter for add_constraint.

More Canvas & Workspace Management Tools

Build & Review Motion Visually

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