Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Build Unreal Engine 5 gameplay with Blueprint visual scripting: Blueprint Classes, the Event Graph and Construction Script, variables/functions/macros, and Blueprint communication (Cast, Interfaces, Event Dispatchers). Use when working in Blueprints, wiring an event graph, deciding how Blueprints talk to each other, or when the user mentions Blueprint, BP, event graph, construction script, or a Blueprint .uasset.
.claude/skills/gamedev-skills-unreal-blueprints/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-17 | ✗→✓ | ▲ Improved | 62% | 0% |
| case-01 | ✓→✓ | = Same ✓ | 56% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 48% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 59% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 54% | 0% |
Structure gameplay logic in Unreal Engine 5 Blueprints: pick the right graph, expose data cleanly, and choose a communication method that doesn't create hard-reference spaghetti. Targets UE 5.8. (Blueprints are node graphs; the snippets below describe node flows.)
using the Construction Script, creating variables/functions/macros, or choosing how two Blueprints communicate (Cast, Interface, or Event Dispatcher).
*.uproject and Blueprint *.uasset files, and the user worksvisually rather than in C++.
When not to use: performance-critical systems, large data structures, or anything that benefits from source control diffs and unit tests → unreal-cpp-gameplay. Player input mapping → unreal-enhanced-input. AI logic → unreal-behavior-trees.
ActorComponent) defines a reusable object. The Level Blueprint is a per-level graph for level-specific scripting only — don't put reusable logic there.
components from variables) — it runs when the actor is placed or edited, not during play.
Event BeginPlay for init, input/overlap eventsfor reactions. Avoid Event Tick unless you truly need per-frame work.
group related ones with categories. Mark pure functions (no exec pin) for getters.
own, Blueprint Interface to call across types without hard references, Event Dispatcher to broadcast one-to-many.
and use Print String to confirm execution paths during Play In Editor (PIE).
textEvent BeginPlay -> Set 'StartLocation' = GetActorLocation -> Bind Event to OnComponentBeginOverlap (TriggerVolume) [calls custom event OnEnterZone] OnEnterZone (Other Actor) -> Branch: Other Actor == Player? True -> Open Door (Timeline drives the rotation) // event-driven, runs once
Prefer events (overlaps, timers, dispatchers) and Timelines over polling in Tick.
textOverlapped Actor (Actor ref) -> Cast To BP_Player Cast Failed -> (do nothing) Success -> call BP_Player.ApplyDamage(10)
Cast To creates a hard reference to that class (it loads with this Blueprint). Fine when the caller genuinely depends on that type; otherwise prefer an Interface.
text// 1. Create BPI_Interactable with function 'Interact(Instigator)'. // 2. Add the interface to BP_Door, BP_Chest, BP_Lever and implement 'Interact' in each. // 3. Caller, with any Actor ref: Player presses Use -> Does Object Implement Interface (BPI_Interactable)? // safe check, no Cast/hard ref True -> Interact (Message) on Target Actor
text// In BP_Player: declare Event Dispatcher 'OnHealthChanged (float NewHealth)'. TakeDamage -> Set Health -> Call 'OnHealthChanged' (Health) // broadcast // In WBP_HUD BeginPlay: Bind Event to 'OnHealthChanged' -> update health bar. // Many listeners can bind; the player never references them.
Cast To create hard references that pullwhole asset trees into memory. Decouple with Interfaces or Dispatchers.
Put it in a Blueprint Class.
Event Tick overuse — every-frame nodes add up fast. Use events, Timers(Set Timer by Event), and Timelines instead.
gameplay actors or starting logic there causes editor-only artifacts. Init in BeginPlay.
spawn via Spawn node, also mark "Expose on Spawn".
Implement Interface" before calling, or use the Message version which is safe on non-implementers.
binding, read references/communication.md.
(https://dev.epicgames.com/documentation/en-us/unreal-engine/overview-of-blueprints-visual-scripting-in-unreal-engine).
unreal-cpp-gameplay — when to drop to C++; how BP and C++ classes interoperate.unreal-enhanced-input — the modern way to feed input events into these graphs.unreal-behavior-trees — AI decision logic that Blueprints trigger.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | pass→pass | 16,270 | 14,534 | -11% | 1 | 1 | 0% | 1,856 | 2,903 | +56% | 0 | 0 | — |
case-02 | pass→pass | 16,107 | 13,981 | -13% | 1 | 1 | 0% | 1,952 | 2,896 | +48% | 0 | 0 | — |
case-03 | pass→pass | 16,073 | 15,442 | -4% | 1 | 1 | 0% | 1,983 | 3,154 | +59% | 0 | 0 | — |
case-04 | pass→pass | 25,490 | 15,198 | -40% | 1 | 1 | 0% | 1,995 | 3,066 | +54% | 0 | 0 | — |
case-05 | pass→pass | 11,309 | 12,963 | +15% | 1 | 1 | 0% | 1,600 | 2,507 | +57% | 0 | 0 | — |
case-06 | pass→pass | 7,091 | 5,642 | -20% | 1 | 1 | 0% | 1,261 | 2,336 | +85% | 0 | 0 | — |
case-07 | pass→pass | 16,143 | 9,342 | -42% | 1 | 1 | 0% | 1,933 | 2,636 | +36% | 0 | 0 | — |
case-08 | pass→pass | 13,627 | 12,826 | -6% | 1 | 1 | 0% | 1,431 | 2,618 | +83% | 0 | 0 | — |
case-09 | pass→pass | 12,665 | 11,822 | -7% | 1 | 1 | 0% | 1,712 | 2,327 | +36% | 0 | 0 | — |
case-10 | pass→pass | 14,110 | 11,863 | -16% | 1 | 1 | 0% | 1,557 | 2,444 | +57% | 0 | 0 | — |
case-11 | pass→pass | 21,755 | 21,691 | -0% | 1 | 1 | 0% | 2,969 | 3,969 | +34% | 0 | 0 | — |
case-12 | pass→pass | 16,692 | 12,575 | -25% | 1 | 1 | 0% | 2,726 | 3,584 | +31% | 0 | 0 | — |
case-13 | pass→pass | 17,517 | 13,086 | -25% | 1 | 1 | 0% | 2,133 | 2,864 | +34% | 0 | 0 | — |
case-14 | pass→pass | 15,457 | 12,638 | -18% | 1 | 1 | 0% | 1,759 | 2,719 | +55% | 0 | 0 | — |
case-15 | pass→pass | 16,623 | 14,423 | -13% | 1 | 1 | 0% | 1,964 | 2,657 | +35% | 0 | 0 | — |
case-16 | pass→pass | 16,028 | 14,816 | -8% | 1 | 1 | 0% | 1,833 | 3,025 | +65% | 0 | 0 | — |
case-17 | fail→pass | 9,566 | 13,081 | +37% | 1 | 1 | 0% | 1,595 | 2,578 | +62% | 0 | 0 | — |
case-18 | pass→pass | 16,465 | 14,516 | -12% | 1 | 1 | 0% | 1,365 | 2,738 | +101% | 0 | 0 | — |
case-19 | pass→pass | 13,318 | 5,685 | -57% | 1 | 1 | 0% | 1,341 | 2,233 | +67% | 0 | 0 | — |
case-20 | pass→pass | 21,936 | 12,814 | -42% | 1 | 1 | 0% | 2,620 | 2,594 | -1% | 0 | 0 | — |
case-21 | pass→pass | 18,504 | 14,794 | -20% | 1 | 1 | 0% | 2,158 | 2,768 | +28% | 0 | 0 | — |
case-22 | pass→pass | 19,494 | 16,196 | -17% | 1 | 1 | 0% | 2,310 | 3,157 | +37% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +5 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.