Game dev
Saved & recent

Animation events

Also called: animation notifies

Related terms: animation markers, events, animation clip

Markers on an animation timeline that trigger actions when playback reaches them. A footstep marker can play a sound exactly when the foot touches the floor; another can release a particle effect when a sword strikes. The marker stores when something happens, while the event handler decides what to do.

This keeps effects attached to the motion when the clip plays faster or slower. A marked interval can also describe a window, such as the active part of an attack. The animation supplies timing; gameplay code still decides whether a hit is valid.

Further reading
Epic Games
0 0.25 0.5 0.75 1 s 1× walk 2× walk walk footstepmarker sound clip
One walk clip, with footstep markers stored at both heel strikes, plays at normal and double speed. Each marker fires when playback reaches it, so the sound stays on the heel contact as the clip speeds up.

View in the full Game dev collection