Unreal Engine 5 (UE 5.8) player input with Enhanced Input: Input Actions (IA_), Mapping Contexts (IMC_), ETriggerEvent bindings and remappable keys. Use when wiring move, look or fire, building a rebind menu, or input does nothing, stops after respawn or fires every frame. Not for engine-neutral input design (`input-systems`) or the Character class (`unreal-cpp-gameplay`).
Ships in gamedev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Wire UE5 player input with data assets: Input Actions say what the player wants, Mapping Contexts say which keys produce it, modifiers shape the value and triggers decide when it fires. Targets UE 5.8, where Enhanced Input is the default and legacy axis/action mappings are deprecated.
IA_/IMC_ assets; applying
modifiers and triggers; adding or swapping mapping contexts at runtime.UEnhancedInputComponent::BindAction) or Blueprint event nodes.When not to use: engine-neutral input architecture, buffering and rebinding policy →
input-systems. The Pawn or Character class and module setup → unreal-cpp-gameplay.
Coyote time and jump buffering → platformer.
EngineAssociation, find existing IA_*/IMC_* assets, and
grep -rn "AddMappingContext\|BindAction\|InputComponent" Source to see where input is
already set up. Extend that path rather than adding a second one. C++ binding needs
"EnhancedInput" in the module's *.Build.cs.Digital (bool) for buttons,
Axis1D (float) for triggers or throttle, Axis2D (Vector2D) for move and look.UEnhancedInputLocalPlayerSubsystem:: AddMappingContext(IMC, Priority) at a point where the pawn is possessed on the owning
client: PawnClientRestart on the pawn, or the PlayerController.Triggered for continuous values (move, look), Started and
Completed for press and release (jump). Read the value with the Get<T>() that matches
the Value Type.void AMyCharacter::PawnClientRestart()
{
Super::PawnClientRestart(); // runs on the owning client after possession
if (APlayerController* PC = Cast<APlayerController>(GetController()))
if (ULocalPlayer* LP = PC->GetLocalPlayer())
if (auto* Subsystem = LP->GetSubsystem<UEnhancedInputLocalPlayerSubsystem>())
Subsystem->AddMappingContext(DefaultMappingContext, /*Priority*/ 0);
}
void AMyCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
// Don't name the parameter InputComponent: that shadows AActor::InputComponent.
if (auto* EIC = Cast<UEnhancedInputComponent>(PlayerInputComponent))
{
EIC->BindAction(MoveAction, ETriggerEvent::Triggered, this, &AMyCharacter::Move);
EIC->BindAction(JumpAction, ETriggerEvent::Started, this, &ACharacter::Jump);
EIC->BindAction(JumpAction, ETriggerEvent::Completed, this, &ACharacter::StopJumping);
}
}
void AMyCharacter::Move(const FInputActionValue& Value)
{
const FVector2D Axis = Value.Get<FVector2D>(); // IA_Move is Axis2D
AddMovementInput(GetActorForwardVector(), Axis.Y);
AddMovementInput(GetActorRightVector(), Axis.X);
}
Event Possessed (or the PlayerController's BeginPlay)
-> Get Controller -> Cast To PlayerController -> Get Local Player
-> Enhanced Input Local Player Subsystem -> Add Mapping Context (IMC_Default, 0)
EnhancedInputAction IA_Move (Triggered) -> Action Value X/Y -> Add Movement Input
Say which of these you ran.
Build.bat/Build.sh as in unreal-cpp-gameplay) and fix errors;
a missing EnhancedInput dependency shows up here as unresolved symbols.UnrealEditor-Cmd <Project>.uproject -run=DataValidation -unattended.InjectInputForAction) and assert the pawn moved. Run it with
UnrealEditor-Cmd <Project>.uproject -ExecCmds="Automation RunTest Project.Functional Tests;Quit" -unattended -nullrhi -ReportExportPath="<dir>"
(swap -nullrhi for -RenderOffscreen if the map needs a renderer).showdebug enhancedinput, press the
keys in question and report which contexts are active, their priorities and the action
values. Input.+key <Key> injects a key press from the console when no device is handy.
For multiplayer bugs, ask them to repeat it on a client window.SetInputMode with UI only).BeginPlay before possession, so GetController() was null. Add it in PawnClientRestart
or the PlayerController.Get<FVector2D>() is always zero: the action's Value Type isn't Axis2D.Triggered repeats while held with the default Down trigger; use
Started/Completed, or a Pressed or Tap trigger.RemoveMappingContext when leaving the mode.Started events.Started/Completed.references/cpp-setup.md for a complete third-person Character (header, source,
Build.cs, the IMC asset checklist) and the runtime rebinding steps with
UEnhancedInputUserSettings.input-systems: engine-neutral input design and rebinding policy.unreal-cpp-gameplay: the Character, PlayerController and module setup.game-ui-ux with unreal-blueprints: menus that use these actions.Last verified: 2026-11-11.
What SKILL.md sets; muted values are Claude Code's defaults
/gamedev:unreal-enhanced-inputfrom gamedev
npx claudepluginhub cirobarone78/games-skill --plugin gamedev80 skills in this plugin
/ai-behavior-trees-utility-aiEngine-neutral behavior tree and utility AI code for NPCs in any language: Blackboard, reactive composites, decorators and response-curve scoring. Use when an enemy keeps chasing after losing sight, restarts its action every frame or flip-flops between choices. Not for FSMs, steering or pathfinding (`game-ai`) or Unreal BT, EQS and StateTree (`unreal-behavior-trees`).
/audio-designEngine-neutral game audio technique: bus layout, volume sliders in decibels, loudness, ducking music under dialogue, adaptive music and SFX variation, with Godot, Unity and FMOD/Wwise mappings. Use when mixing a game, making music react to combat, fixing repetitive footsteps or beat sync, or a mix that clips or pumps. Not for the Godot audio API (`godot-audio`).
/