add_progress_bar_to_widget
Add a progress bar to a UMG widget for health or ammo displays. Configure position, size, colors, and initial fill percentage.
Instructions
Add a Progress Bar widget (useful for health/ammo bars).
Args: widget_name: Widget Blueprint name progress_bar_name: Component name position: [X, Y] position size: [Width, Height] fill_color: [R,G,B,A] fill color background_color: [R,G,B,A] background percent: Initial fill (0.0-1.0)
KB: see knowledge_base/06_UI_UMG_SYSTEMS.md#overview Example: add_progress_bar_to_widget(widget_name="/Game/MCP_Test/WBP_Example", progress_bar_name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| percent | No | ||
| position | No | ||
| fill_color | No | ||
| widget_name | Yes | ||
| background_color | No | ||
| progress_bar_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |