RealDocs

UAnimInstance::SetPropagateNotifiesToLinkedInstances

function Engine Blueprint Since 4.24
#include "Animation/AnimInstance.h"
Access: public Specifiers: BlueprintCallableUFUNCTION

Description

Controls whether animation notifies fired on this instance are forwarded to any linked child anim instances. Useful when a parent layer fires a notify that multiple child layers need to respond to.

Caveats & Gotchas

  • Enabling propagation means child instances receive the parent's notifies in addition to their own. If a child has its own copy of the same notify, it may effectively fire twice — once from its own animation and once propagated from the parent.
  • Propagation flows from parent to children, not transitively through multiple layers unless each intermediate instance also has propagation enabled.

Signature

void SetPropagateNotifiesToLinkedInstances(bool bSet) { bPropagateNotifiesToLinkedInstances = bSet; }

Parameters

Name Type Description Default
bSet bool True to forward this instance's animation notifies to linked child instances.

Return Type

void

Example

Enable notify propagation to child layers C++
void UMyAnimInstance::NativeInitializeAnimation()
{
	Super::NativeInitializeAnimation();
	// Forward footstep notifies to locomotion child layer
	SetPropagateNotifiesToLinkedInstances(true);
}

Version History

Introduced in: 4.24

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.