EventGraph

Every Animation Blueprint has a single EventGraph, which is a standard Graph that uses a collection of special animation-related events to initiate sequences of nodes. The most common use of the EventGraph is to update values used by Blend Spaces and other blend nodes to drive animations within the AnimGraph.

Graph Panel

Animation Events

Various events are called by the animation system to initialize and update the Animation Blueprint. These can be placed in the EventGraph to implement or override functionality.

Blueprint Initialize Animation

The Blueprint Initialize Animation event is executed once when the Animation Blueprint instance is created to perform initialization operations.

Initialize Anim Event

Pin

Description

Output Pins

Exec (Blank)

Fired once each frame when the BlueprintInitializeAnimation() event is executed in code.

Blueprint Update Animation

The Blueprint Update Animation event is executed every frame allowing the Animation Blueprint to perform calculations and updates to any values it needs. This event is the entry point into the update loop of the EventGraph. The amount of time elapsed since the last update is available from the DeltaTimeX pin so time-dependent interpolations or incremental updates can be performed.

Update Anim Event

Pin

Description

Output Pins

Exec (Blank)

Fired once each frame when the BlueprintUpdateAnimation() event is executed in code.

Delta Time X

Outputs the amount of time since the last execution cycle.

The EventGraph of a Level Blueprint contains a node graph that uses events and function calls to perform actions in response to gameplay events. This is used to handle events for the level as a whole and to add functionality for specific instances of Actors and Blueprints within the world.

In either case, an EventGraph is used by adding one or more events to act as entry points and then connecting Function Calls, Flow Control nodes, and Variables to perform the desired actions.