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_behavior

Adds a behavioral sensor (Proximity, Magnetic, Fluid, Sticky, etc) to an object for interactive motion.

Tool Overview & Agent Execution

add_behavior is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to adds a behavioral sensor (proximity, magnetic, fluid, sticky, etc) to an object for interactive motion.. 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_behavior to configure the motion properties in my active .exode workspace"

Tool Parameters & Input Schema

ParameterTypeRequiredDescription
enabledbooleanOptionalThe enabled parameter for add_behavior.
endTimenumberOptionalBehavior end time (default 100)
objectIdstringYesThe objectId parameter for add_behavior.
pathstringYesThe path parameter for add_behavior.
sensorsarrayOptionalThe sensors parameter for add_behavior.
settingsobjectOptionalThe settings parameter for add_behavior.
startTimenumberOptionalBehavior start time (default 0)
typestringYesThe type parameter for add_behavior.

More State Machines & Logic Tools

Build & Review Motion Visually

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