Skip to main content
skill CX Codex

unreal-blueprints — Claude Code skill: what it does, how to install

Guides Unreal Engine 5 Blueprint visual scripting: selects proper graphs, organizes variables, and prevents hard-reference spaghetti across gameplay actors.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill unreal-blueprints -a claude-code
Open on GitHub

What unreal-blueprints does

This skill targets Unreal Engine 5.8 visual scripting for projects containing *.uproject and *.uasset files. It guides the coding agent to choose the right graph context: reusable Blueprint Classes versus Level Blueprints, editor-time initialization in the Construction Script, and event-driven runtime logic via Event BeginPlay or Timeline nodes instead of expensive Event Tick polling.

It outlines patterns for actor communication: direct Cast To when tight coupling is intentional, decoupled calls via Blueprint Interface, and one-to-many broadcasts using Event Dispatcher. Chained Cast To nodes create hard references that load entire asset trees into memory, so the skill prioritizes interfaces whenever actors should remain independent.

Systems demanding raw CPU performance, complex data layouts, or readable version control diffs are routed to C++ instead. Note that UE 5.8 blocks new local variables from sharing names with member variables, but inherited blueprints with preexisting collisions require manual renaming to stop default value bugs.

What it helps with

  • decouple actor interactions using a Blueprint Interface instead of hard casts
  • build event-driven triggers and door animations without polling Event Tick
  • separate editor-time Construction Script setup from runtime initialization
  • broadcast health and gameplay changes to UI widgets using Event Dispatchers

Example prompts for the agent

  • Wire an OnComponentBeginOverlap event to open a door with a Timeline without using Tick.
  • Create a BPI_Interactable interface and show how to call it from BP_Player.
  • How do I set up an Event Dispatcher in BP_Player to update WBP_HUD?

How to install unreal-blueprints

1Skills CLI (Vercel)

npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill unreal-blueprints -a claude-code

2Manually: put the files in place

~/.claude/skills/unreal-blueprints/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/unreal-blueprints/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about unreal-blueprints

How do I install unreal-blueprints in Claude Code?

Run npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill unreal-blueprints -a claude-code in your terminal.

What does the unreal-blueprints skill do?

It provides structural patterns for Unreal Engine 5.8 visual scripting. It organizes Event Graphs, manages variable exposure, and establishes clean communication patterns between actors.

When should logic stay out of Blueprints according to this skill?

Performance-critical logic, large data structures, and code requiring clear version control diffs or unit tests belong in C++ under unreal-cpp-gameplay.

Source text

SKILL.md · Apache-2.0
---
name: unreal-blueprints
description: >
  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.
---

# Unreal Blueprints (Visual Scripting)

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.)

## When to use

- Use when authoring a Blueprint Class, wiring the Event Graph (BeginPlay/Tick/overlap),
  using the Construction Script, creating variables/functions/macros, or choosing how two
  Blueprints communicate (Cast, Interface, or Event Dispatcher).
- Use when the project has `*.uproject` and Blueprint `*.uasset` files, and the user works
  visually 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`.

## Core workflow

1. **Choose the Blueprint type.** A **Blueprint Class** (derived from Actor/Pawn/Character/
   ActorComponent) defines a reusable object. The **Level Blueprint** is a per-level graph for
   level-specific scripting only — don't put reusable logic there.
2. **Use the Construction Script for editor-time setup** (procedural placement, configuring
   components from variables) — it runs when the actor is placed or edited, *not* during play.
3. **Use the Event Graph for runtime logic.** `Event BeginPlay` for init, input/overlap events
   for reactions. Avoid `Event Tick` unless you truly need per-frame work.
4. **Expose data with variables**; click the eye icon to make a variable Instance Editable, and
   group related ones with categories. Mark **pure** functions (no exec pin) for getters.
5. **Pick a communication method by coupling** (see Patterns): direct **Cast** for things you
   own, **Blueprint Interface** to call across types without hard references, **Event
   Dispatcher** to broadcast one-to-many.
6. **Verify** with the Blueprint debugger: drop breakpoints on nodes, watch variable values,
   and use Print String to confirm execution paths during Play In Editor (PIE).

## Patterns

### 1. Reactive Event Graph (no Tick)

```text
Event 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.

### 2. Direct reference + Cast (tight coupling, use sparingly)

```text
Overlapped 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.

### 3. Blueprint Interface (decoupled call)

```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
```

### 4. Event Dispatcher (one-to-many broadcast)

```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.
```

## Pitfalls

- **Cast spaghetti / long load times** — chains of `Cast To` create hard references that pull
  whole asset trees into memory. Decouple with Interfaces or Dispatchers.
- **Logic in the Level Blueprint that should be reusable** — it can't be reused across levels.
  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.
- **Construction Script doing gameplay** — it runs in the editor on edit/placement; spawning
  gameplay actors or starting logic there causes editor-only artifacts. Init in BeginPlay.
- **Variable not visible on the instance** — toggle Instance Editable (the eye); to edit before
  spawn via Spawn node, also mark "Expose on Spawn".
- **Interface call did nothing** — the target doesn't implement the interface; use "Does
  Implement Interface" before calling, or use the Message version which is safe on non-implementers.
- **Local variable picks up an unexpected default value** — it shares its name with a member
  variable, and one can inherit the other's default. UE 5.8 refuses such names for new local
  variables, but older Blueprints keep existing collisions; rename one of the two by hand.

## References

- For a decision guide on **Cast vs Interface vs Event Dispatcher** and step-by-step dispatcher
  binding, read `references/communication.md`.
- Primary docs: "Blueprints Visual Scripting"
  (`https://dev.epicgames.com/documentation/en-us/unreal-engine/overview-of-blueprints-visual-scripting-in-unreal-engine`).

## Related skills

- `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.

© gamedev-skills · Apache-2.0 · gamedev-skills/awesome-gamedev-agent-skills

Similar skills

Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set77

pixijs-rendering A skill for building a PixiJS v8 render layer: async Application, texture loading with Assets, a Container scene graph, ticker loop and pointer events. CX Codex +1 5,400installs unity-navmesh Coding-agent skill for Unity pathfinding: bake a NavMesh over level geometry and drive NPCs with NavMeshAgent. Useful when an enemy should chase the player instead of idling. CX Codex +1 5,500installs unity-tilemap-2d Builds and scripts 2D tilemaps in Unity 6.3 LTS using Grid components, Tile Palette, and runtime C# methods. Useful when laying out levels, setting up colliders, or generating procedural rooms. CX Codex +1 5,500installs unreal-cpp-gameplay Teaches the agent to write UE5 gameplay C++: reflection macros, Gameplay Framework class roles, and module dependencies in *.Build.cs. CX Codex +1 5,300installs pygame-core A skill that lays out the skeleton of a pygame game: the main loop, delta-time movement, input, sprites and collisions. Useful the moment a project starts with import pygame. CX Codex +1 5,100installs bevy-ecs Keeps the agent inside Bevy's ECS model: plugins, components and resources, systems built on Query. Useful once your Rust project already pulls in bevy. CX Codex +1 5,100installs unreal-packaging Packages Unreal Engine 5 projects into distributable builds via the editor or RunUAT. Helps configure maps, cook assets, and prepare shipping releases for CI. CX Codex +1 5,200installs unreal-behavior-trees Build NPC AI in Unreal Engine 5 with Behavior Trees and Blackboards. Use it for enemy logic, patrols, reactive branches, and custom BT nodes. CX Codex +1 5,200installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor