inputsystem-binding-composite-add

Adds composite bindings with named parts to InputActions in Unity .inputactions assets.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/PMK95/GridSquad --skill inputsystem-binding-composite-add-pmk95
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: inputsystem-binding-composite-add
Source: https://github.com/PMK95/GridSquad/tree/main/GridSquadUnity/.agents/skills/inputsystem-binding-composite-add
Command: npx skills add https://github.com/PMK95/GridSquad --skill inputsystem-binding-composite-add-pmk95

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Manually editing Unity .inputactions assets to add composite bindings like WASD 2DVector controls is tedious and error-prone, especially when automating input setup across multiple Actions and ActionMaps. ## Core Features & Use Cases - Composite Binding Creation: Adds composite bindings such as 2DVector, 1DAxis, Axis, or Dpad to any InputAction via the Unity Input System API. - Named Part Binding: Chains each composite part (e.g. up, down, left, right) to a control path like <Keyboard>/w using AddCompositeBinding and .With(). - Optional Interactions and Processors: Applies interactions and processors to the composite root, then saves and re-imports the asset on the Unity main thread. - Use Case: Configure a Player Movement Action with a WASD 2DVector composite in an existing .inputactions asset without opening the Unity Input Actions editor. ## Quick Start Ask the AI to add a 2DVector composite binding with WASD keys to the Move action in your .inputactions asset using the unity-mcp-cli run-tool command.

Frequently Asked Questions about inputsystem-binding-composite-add

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a WASD composite binding to a Unity InputAction?▼

Run the inputsystem-binding-composite-add tool with the asset path, map name, action name, and parts mapping up, down, left, and right to keyboard keys like <Keyboard>/w. It uses AddCompositeBinding with a 2DVector composite and saves the asset.

What composite types does Unity Input System support?▼

This tool supports 2DVector (the default), 1DAxis, Axis, and Dpad composite types. A 2DVector uses up, down, left, and right parts, while a 1DAxis uses negative and positive parts.

Can I add interactions or processors to a composite binding?▼

Yes, the optional interactions and processors parameters are applied to the composite root binding. Pass them as strings alongside the required assetPath, mapName, actionName, and parts parameters.

Why is unity-mcp-cli not found when running the tool?▼

The CLI must be installed globally with npm install -g unity-mcp-cli, or invoked via npx unity-mcp-cli. The unity-initial-setup skill contains detailed installation instructions.

Does the .inputactions asset need to exist before adding a composite?▼

Yes, the assetPath parameter must point to an existing .inputactions asset rooted at Assets/. The tool loads the asset, resolves the Action, adds the composite, then saves and re-imports it.