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_logic_node

Adds a logic gate to the state machine. Supports boolean (AND/OR/NOT/XOR), math (ADD/SUB/MUL/DIV/MOD/POW/ABS/ROUND/FLOOR/CEIL/SIN/COS/TAN/CLAMP/REMAP), comparison (EQ/NEQ/GT/LT/GTE/LTE), utility (IF_ELSE/VALUE/INPUT/LOG), scroll/mouse (SCROLL_X/SCROLL_Y/MOUSE_X/MOUSE_Y/IS_MOUSE_DOWN), and property (OBJECT/PROPERTY/GET_PROPERTY/SET_PROPERTY) operations.

Tool Overview & Agent Execution

add_logic_node is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to adds a logic gate to the state machine. supports boolean (and/or/not/xor), math (add/sub/mul/div/mod/pow/abs/round/floor/ceil/sin/cos/tan/clamp/remap), comparison (eq/neq/gt/lt/gte/lte), utility (if_else/value/input/log), scroll/mouse (scroll_x/scroll_y/mouse_x/mouse_y/is_mouse_down), and property (object/property/get_property/set_property) operations.. 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_logic_node to configure the motion properties in my active .exode workspace"

Tool Parameters & Input Schema

ParameterTypeRequiredDescription
inputsarrayOptionalThe inputs parameter for add_logic_node.
labelstringOptionalCustom label for logging
namestringOptionalThe name parameter for add_logic_node.
opstringYesLogic operation: AND, OR, NOT, XOR, ADD, SUB, MUL, DIV, MOD, POW, ABS, ROUND, FLOOR, CEIL, SIN, COS, TAN, CLAMP, REMAP, EQ, NEQ, GT, LT, GTE, LTE, IF_ELSE, VALUE, INPUT, LOG, OBJECT, PROPERTY, GET_PROPERTY, SET_PROPERTY, SCROLL_X, SCROLL_Y, MOUSE_X, MOUSE_Y, IS_MOUSE_DOWN, EFFECTOR, MONITOR
pathstringYesThe path parameter for add_logic_node.
valuestringOptionalStatic value for VALUE nodes
xnumberOptionalThe x parameter for add_logic_node.
ynumberOptionalThe y parameter for add_logic_node.

More State Machines & Logic Tools

Build & Review Motion Visually

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