Lyra bind variables in AnimInstance to GameplayTags

Hi guys I hope that you are doing fine.

There is a very cool feature in Lyra animations that allows you to bind a variable to gameplay tags like this:

I noticed that the ‘ABP_Mannequin_Base’ class is a child of ‘ULyraAnimInstance’ (C++). So I created my own child class (from ULyraAnimInstance) and I see the Gameplay Tags section. But when I bind “Event.Movement.ADS” to my variable “Aiming” nothing happens. When I print out the variable “Aiming” its always false, but on the other blueprint (ABP_Mannequin_Base) it works fine.

I casted “TryGetPawnOwner” to “LyraCharacter”. Is this the problem?
How can I figure this out?
Thank you very much.

1 Like