What Is an Animation Blueprint?
An Animation Blueprint (AnimBP) is Unreal Engine's system for controlling how a character animates in real time. Every character with complex animation logic in UE5 — one that transitions between idle, walking, running, jumping, attacking, and hundreds of other states — has an Animation Blueprint managing those transitions and blending.
Unlike a static animation clip, an Animation Blueprint is a programmable layer that reads game state (character speed, input, health, combat conditions) and outputs the correct animation pose every frame. It is the bridge between your game logic and your animation assets.
If you've imported motion capture animations into UE5 and they just play on loop without responding to player input, you need an Animation Blueprint. This guide walks through the full system — from creating your first AnimBP to setting up production-grade locomotion, combat, and IK.
What you'll learn: How the Animation Blueprint UE5 system is structured, how to build locomotion state machines and blend spaces, how to set up layered combat blending, how to connect motion capture animations to your anim blueprint, UE5 animation best practices, and answers to the most common animation blueprint unreal engine questions.
The Two Parts of an Animation Blueprint
Every Animation Blueprint in UE5 has two graphs:
The Event Graph
The Event Graph runs game logic — reading values from the owning character and setting variables that the AnimGraph will use. This is standard Blueprint code.
Common Event Graph operations:
- Calculating Speed from the character's velocity magnitude
- Setting IsInAir from the character movement component
- Setting IsCrouching, IsAiming, IsCombatMode from character state
- Reading weapon type, health, or stamina for blend weight inputs
The Event Graph runs on the game thread, not the animation thread. Keep it lightweight — complex calculations should be in the character Blueprint, not the AnimBP Event Graph. For unreal engine 5 animation systems at scale, move expensive logic out of the AnimBP entirely.
The AnimGraph
The AnimGraph computes the output pose — the actual bone positions and rotations that drive the character mesh every frame. It's a visual, node-based graph where you build pose computation logic:
- Blend Space Player nodes read blend spaces driven by speed/direction variables
- State Machines manage high-level animation states (Locomotion, Jump, Combat)
- Layered Blend per Bone blends poses on different bone chains (upper body combat, lower body locomotion)
- IK nodes (FABRIK, Two Bone IK) apply procedural adjustments on top of animation data
- The final node is always "Output Pose" — whatever pose reaches this node is what the character displays
Creating Your First Animation Blueprint
This anim blueprint tutorial starts with creation and initial setup:
- In Content Browser, right-click → Animation → Animation Blueprint
- Select the Skeleton for your character (the skeleton must match the animations you'll use)
- Name it
ABP_[CharacterName] - Open it — you'll see the Event Graph and AnimGraph tabs
Connecting it to your character:
In your character Blueprint (or in the Skeletal Mesh component settings), set the Anim Class to your new AnimBP. The character will now use this Animation Blueprint for playback.
Variables to create first:
Before building any logic, create these variables in the animation blueprint ue5 system — they'll be used throughout:
- Speed (Float) — character's current movement speed
- Direction (Float) — movement direction relative to character facing (-180 to 180)
- IsInAir (Boolean) — true when character is not on ground
- IsCrouching (Boolean)
- IsInCombat (Boolean)
- WeaponType (Enum) — for weapon-specific upper body layers
Building a Locomotion State Machine
The UE5 animation state machine is the core structure of most animation blueprints. It defines high-level animation states and the conditions that transition between them.
Create the State Machine:
1. In the AnimGraph, drag a node from the OutputPose backward → Add New State Machine
2. Name it "Locomotion"
3. Double-click to open the State Machine editor
Add states:
- Idle: drag in an Animation Sequence (or Blend Space) for standing idle
- Walk: drag in a walk Blend Space Player
- Run: drag in a run Animation Sequence or Blend Space
- Jump: drag in a jump animation
Add transitions:
Click the arrow on the edge of the Idle state and drag to the Walk state to create a transition. In the transition rule, set the condition: Speed > 50.0 (using the Speed variable from the Event Graph).
Add the reverse transition: Walk → Idle with Speed < 50.0 AND IsInAir == false.
Add Walk → Run: Speed > 300.0
Add Run → Walk: Speed < 300.0
Add Locomotion → Jump: IsInAir == true
Add Jump → Locomotion: IsInAir == false
Blend times: Each transition has a blend duration. 0.2 seconds is typical for locomotion transitions in the ue5 animation state machine. Shorter blends for combat, longer for cinematic transitions.
Blend Spaces: Smooth Speed and Direction Blending
A Blend Space interpolates between multiple animations based on one or two parameters. For locomotion, a 2D Blend Space takes Speed (X axis) and Direction (Y axis, -180 to 180) as inputs and blends between directional walk/run animations — a fundamental part of any unreal engine 5 animation locomotion setup.
Creating a Locomotion Blend Space:
1. Content Browser → right-click → Animation → Blend Space (2D) or Blend Space 1D
2. Assign the Skeleton
3. Set axis parameters: Horizontal Axis (Speed, 0–600), Vertical Axis (Direction, -180–180)
4. Open the Blend Space and drag in Animation Sequences at their coordinate positions:
- Walk Forward at (150, 0)
- Walk Left at (150, -90)
- Walk Right at (150, 90)
- Walk Back at (150, 180)
- Run Forward at (400, 0)
- Run Left at (400, -90)
- etc.
5. The editor previews the interpolated result as you drag the sample point
In the AnimGraph, use a Blend Space Player node, connect your Speed and Direction variables to the inputs, and the node outputs the blended locomotion pose.
Layered Blending: Upper Body and Lower Body
A key pattern in action games: the character moves (lower body locomotion) while simultaneously shooting, aiming, or attacking (upper body animation). Layered Blend per Bone handles this by defining a bone chain mask — essential for any combat-capable animation blueprint ue5 setup.
Setup:
1. In the AnimGraph, add a Layered Blend per Bone node
2. Connect the Base Pose to your locomotion output
3. Connect the Blend Pose 0 to your upper body action (combat idle, aim pose, attack montage slot)
4. In the node settings, define the Blend Weights: set the layer to start at the Spine bone, so the upper body is fully overridden by the upper body animation while the lower body follows locomotion
This is how characters can walk while aiming, run while reloading, or strafe while in a weapon raised pose — standard behavior in any production animation blueprint unreal engine setup.
Animation Montages for Combat
For actions like attacks, abilities, and hit reactions that need to play on demand and layer over the base locomotion, Animation Montages are the standard UE5 approach.
Creating a Montage:
1. Right-click an Animation Sequence in Content Browser → Create → Animation Montage
2. The Montage editor shows the animation on a track with a Slot label (Default Slot by default)
3. Add Notifies for game events: AnimNotify for triggering hitboxes, footstep sounds, or particle effects
4. Add Montage Sections to define combo points
Connecting the Slot to the AnimGraph:
In the AnimGraph, add a Slot node (DefaultSlot). Connect it between your base locomotion pose and the output. When a Montage plays on this slot, it overrides the base pose. Combined with Layered Blend per Bone, the Montage can override only the upper body.
Playing the Montage:
In the character Blueprint, use Play Anim Montage with your Montage asset as input. The animation blueprint ue5 slot node automatically picks it up and plays it.
Inverse Kinematics: Foot Placement and Procedural Adjustment
IK allows bone positions to be adjusted procedurally at runtime — fixing foot placement on uneven terrain, aligning hands to grabbed objects, or pointing a character's gaze at a target.
Foot Placement IK in UE5:
- In the AnimGraph, add a Two Bone IK node for each leg
- Connect the IK target position to a trace result (line trace from the foot downward to find the ground surface)
- The Two Bone IK solver adjusts the knee and ankle positions to place the foot correctly on any surface geometry
UE5 also includes Full Body IK (FBIK) for more complex multi-limb IK constraints, and Control Rig for procedural animation that can be layered on top of mocap data in your unreal engine 5 animation pipeline.
Animation Blueprint Best Practices
After the basic anim blueprint tutorial, these practices separate functional setups from production-grade ones:
Thread Safe Update: UE5 supports Worker Thread animation evaluation — moving AnimBP logic off the game thread. Enable this in the AnimBP class settings under "Use Multi Threaded Animation Update." Variables accessed in thread-safe mode must be marked as thread-safe, and all game state reads must go through the "Property Access" node rather than direct variable reads.
Fast Path: Fast Path optimization in the animation blueprint ue5 system skips Blueprint VM execution for simple node evaluation. The AnimGraph highlights nodes that aren't on Fast Path with a lightning icon. For performance-critical characters, ensure locomotion blend spaces and basic state transitions use Fast Path-compatible connections (direct variable reads, no function calls in the AnimGraph).
Separate Event Graph logic by responsibility: Group Event Graph logic into regions: Movement Variables, Combat Variables, IK Variables. Large unorganized Event Graphs become difficult to maintain.
Use sub-AnimBPs for complex characters: Rather than putting all animation logic in one AnimBP, use Sub-AnimInstances for distinct systems (facial animation, hand IK, cloth) that can be developed and tested independently.
Limit State Machine states: The ue5 animation state machine performs best with fewer, broader states. A "Locomotion" state using a blend space is better than 10 individual movement states. Reserve individual states for truly distinct behaviors (Jump, Fall, Death) that can't be represented in a blend space.
Connecting Motion Capture Animations to an Animation Blueprint
When you import motion capture animations from a professional library (FBX format) into UE5, they become Animation Sequences assigned to your character's skeleton. From there, connecting them to the AnimBP follows the same workflow as any other animation:
- Import FBX → select the character's Skeleton asset → Import All
- The resulting Animation Sequence appears in your Content Browser
- Drag the sequence into a Blend Space, State Machine state, or directly into the AnimGraph
- Set the desired loop, blend time, and root motion settings
- The animation plays through the AnimBP's normal state machine logic
MoCap Online's animation packs use skeletons aligned with UE5's Mannequin, which means the Animation Sequences can be placed directly into Mannequin-based AnimBPs without additional retargeting. The free animation pack is a good test set for verifying your animation blueprint unreal engine setup before purchasing a full production set.
FAQ: Animation Blueprint Unreal Engine 5
What is the difference between an Animation Blueprint and an Animator Controller?
Animation Blueprint is UE5's term; Animator Controller is Unity's equivalent. Both serve the same function: a programmable state machine that controls which animations play based on game state and transitions between them. The animation blueprint unreal engine system uses visual Blueprint scripting while Unity's Animator uses a simpler state diagram with parameter connections.
How do I stop my character from sliding during locomotion?
Check your Speed variable — if it lags behind the actual character velocity, animation speed and movement speed desync. Calculate Speed directly from the character movement component's velocity magnitude in the Event Graph (not from a timer). Also verify root motion settings if using root motion animations.
Can I have multiple State Machines in one Animation Blueprint?
Yes. Complex characters often have multiple state machines in the AnimGraph (one for the lower body, one for the upper body) with a Layered Blend combining them. This is a standard pattern in production animation blueprint ue5 setups for games with complex combat.
How do I trigger one-shot animations (attacks, interacts) without interrupting locomotion?
Use Animation Montages on a named Slot, combined with Layered Blend per Bone. The Montage plays on the upper body slot while the lower body continues following the locomotion state machine. This is the recommended pattern in any anim blueprint tutorial for action games.
What is a Linked Anim Layer in UE5?
Linked Anim Layers allow the AnimBP to dynamically swap out sections of the AnimGraph at runtime. This is used for character archetypes that share a base AnimBP but need weapon-specific upper body behavior — each weapon type has its own Linked Anim Layer that slots into the base animation blueprint unreal engine at runtime.
How do I debug my Animation Blueprint?
Open the AnimBP in the editor and press Play. Select your character in the viewport and enable "Debug" on the AnimBP's toolbar. The AnimGraph will display live node values, active state machine states, and blend weights as the game runs. For the ue5 animation state machine specifically, active states highlight in green and transition conditions show their current boolean values in real time.
What is Thread Safe Update in animation blueprint ue5?
Thread Safe Update moves AnimBP evaluation from the game thread to worker threads, running animation logic in parallel with other systems. This is a significant performance improvement for games with many animated characters. Enable it per-AnimBP in class settings, and use Property Access nodes for game state reads instead of direct Blueprint calls.
How do I set up Turn in Place in my Animation Blueprint?
Turn in Place requires tracking the difference between the character's facing direction and movement direction. In the Event Graph, compute RootYawOffset — the delta between the character's actor rotation and its movement direction. When the character rotates in place (without moving), feed this offset to a rotation correction bone or use the Turn In Place state in the ue5 animation state machine. MoCap Online's locomotion packs include turn-in-place animation clips sized for 45° and 90° rotation arcs.
Build Your Animation System on Professional Mocap
A well-built Animation Blueprint is only as good as the animations that feed into it. Professional mocap clips provide the natural weight, correct foot contacts, and loop-ready structure that make state machine transitions invisible to the player.
Browse the MoCap Online motion capture animation library for locomotion, combat, and category-specific animation packs built for UE5 workflows. Start with the free animation pack to test your Animation Blueprint setup end-to-end before purchasing a full production set. Animation-specific tutorials and UE5 workflow guides are available on the MoCap Online animation blog.
