Dynamic Material for WidgetComponent

Hey @Everynone (and to anyone in the future trying to animate widget materials with sequencer), I’ve just found the perfect “hidden” solution on this providential YT tutorial:

In fact, that trick with the name of the function Set+variblename is a HUGE feature to get control on anything from sequencer. Is it documented anywhere?

This way, animate the widget component flipbook from sequencer is as easy as creating a variable and a function, like this:

And that’s all. Just let that variable and function to exist in the blueprint. No Begin Play, Event construct, or any dynamic materials management needed. All you need is in this screenshot.

EDIT: It’s even better: With this method the Sequencer is much cleaner and easy to handle! No need to create a 3-level nested track (Component/Material/Parameter) to access the parameter. Just a single parameter track. This makes your life much easier if you’re working with complex sequences, as I’m doing now,

Awesome! Today I’ve learned something huge for the type of apps I usually do.

have a nice day!