How to add effect to UI element

I’ve been working on a game and i cant seem to figure out how to do one thing.
So there are spells in my game and when i cast a spell i want cooldown effect to take place on the UI (timer,clockwise transition, etc) i already created the effect on aae but cant find how to implement it to unreal

  • You could create an UMG UI,
  • add an image widget
  • and put a dynamic material instance on it, which is responsible for rendering the clock
  • Then give the material an input parameter
  • and update this said parameter with the current timer state

I think you would have two input parameter on this material:
the start time as gametime
and the duration

with this you can calculate the angle for your clock and rotate the hand’s texture acordingly