Add, duplicate, or delete a binding
Add bindings to connect an action to the controls that trigger it, duplicate a binding to reuse its settings, or delete a binding you no longer need.
For information about bindings and the difference between simple and composite bindings, refer to Introduction to bindings.
Prerequisites
Open the actions you want to edit:
- For an input action asset, double-click the asset in the Project window. The asset opens in the Input Actions Editor window.
- For project-wide actions, go to Edit > Project Settings > Input System Package.
For more information, refer to Input Actions Editor window reference.
Add a binding
To add a new binding to an action:
- In the Actions panel, select Add (+) on the action, or right-click (macOS: Ctrl+click) the action.
- From the menu that appears, select Add Binding to add a simple binding, or select a composite type to add a composite binding.
After you add a binding, configure its control path.
Duplicate a binding
To duplicate an existing binding on an action:
- In the Actions panel, right-click the binding.
- Select Duplicate.
The duplicate appears below the original binding, with the same properties.
Delete a binding
To delete an existing binding from an action:
- In the Actions panel, right-click the binding.
- Select Delete.
The binding no longer appears in the Actions panel.