How to change inventory icon with animation when key is pressed

I made this Flipbook material for my inventory and I wanna make when Q pressed, Inventory icon changes into fill one, and pressed again changes into empty one with flipbook animation! Is it possible in flipbook material? Or am I have to use mp4 or another form?

This is my reference for moving inventory icon.

I always see that material with some single texture grid of sub textures as over complicated.

I just drop the sequence of single sprites in some array inside the widget BP and replace the texture of the material I am using with some function and timers. Like a custom flipbook made with Texture2D objects.

if you have a lot of animated elements/icons you even can make your custom WidgetBP_Class for generic use and just add to your other Widgets as sub components.

Is super easy to do.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.