add_widget_animation
Add a widget animation to animate UMG properties like opacity, scale, or position over time, with optional looping and configurable duration.
Instructions
Add a UMG Widget Animation to animate widget properties over time.
Widget Animations allow smooth fades, slides, and scale effects in UI. Use PlayAnimation / StopAnimation nodes in Blueprint to trigger them.
Args: widget_name: Widget Blueprint name animation_name: Name for the animation (e.g., "FadeIn", "SlideOut") animated_property: Property to animate ("Opacity", "Scale", "Position") start_value: Starting value end_value: Ending value duration: Animation duration in seconds loop: Whether the animation loops
KB: see knowledge_base/06_UI_UMG_SYSTEMS.md#overview Example: add_widget_animation(widget_name="/Game/MCP_Test/WBP_Example", animation_name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | ||
| duration | No | ||
| end_value | No | ||
| start_value | No | ||
| widget_name | Yes | ||
| animation_name | Yes | ||
| animated_property | No | Opacity |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |