# How to execute a function during widget animation

**URL:** <https://forums.unrealengine.com/t/how-to-execute-a-function-during-widget-animation/477262>\
**Category:** UI\
**Tags:** unreal-engine, UI, Blueprint, question\
**Created:** [January 14, 2021, 3:22pm UTC](https://forums.unrealengine.com/t/how-to-execute-a-function-during-widget-animation/477262 "2021-01-14T15:22:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mattai](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mattai/32/731470_2.png) [@mattai](https://forums.unrealengine.com/u/mattai)\
**Post date:** [September 30, 2023, 7:13pm UTC](https://forums.unrealengine.com/t/how-to-execute-a-function-during-widget-animation/477262/4 "2023-09-30T19:13:48Z")

</div>

The previously posted link is broken, but I believe this is the working version in case anyone else lands here.

> [@Can you animate a dynamic material parameter in UMG widget timeline?](https://forums.unrealengine.com/t/can-you-animate-a-dynamic-material-parameter-in-umg-widget-timeline/151529):
>
> So in the graph of my widget I can create a dynamic material instance. I can then use “Set scalar parameter value” to change a parameter on it in blueprints. I’d like to be able to change this parameter on the timeline so the designer can edit fade in times etc but do not see a way to select it. Is this possible or am I limited to linear onframe changing?

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-execute-a-function-during-widget-animation/477262)._
