remove_input_modifier
Delete a modifier from an Enhanced Input key mapping by index and save the context to disk. Use it to undo modifiers like Negate; remove from the highest index down.
Instructions
Delete one modifier from a key mapping in an Enhanced Input mapping context, by mapping_index + modifier_index -- e.g. removing a Negate that flipped an axis the wrong way -- and save the context; the call succeeds only when the context reaches disk. Indices shift after a removal, so work from the highest down. add_input_modifier is the inverse.
Returns: { applied, removed_class_name, remaining_count, saved, save_error? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx_path | Yes | Asset path of the UInputMappingContext | |
| mapping_index | Yes | 0-based index of the FEnhancedActionKeyMapping | |
| modifier_index | Yes | 0-based index of the modifier within Mapping.Modifiers |