I have a blueprint that when colliding with a player must reproduce a widget animation (This widget has the player) but I can not reference the widger to use the Play Animation node from this blueprint, what should I do? (This animation is FadeOut when the player die)
When you make the widget and attach it, also store it in a variable:
Then you can access it like this:
But what if I have the creation of the widget on the level blueprint? How can I access that variable? From the enemy?
Ah, sorry, not sure. If I did end up in that situation, I guess I would pass it though the game instance…
I will create it from the player and use your method, thank you very much!
There is also this way, in the UE docs: