# Trying to show enemy weight overhead using a widget

**URL:** <https://forums.unrealengine.com/t/trying-to-show-enemy-weight-overhead-using-a-widget/1273427>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [August 26, 2023, 4:13pm UTC](https://forums.unrealengine.com/t/trying-to-show-enemy-weight-overhead-using-a-widget/1273427 "2023-08-26T16:13:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SOLDIEROSCAR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SOLDIEROSCAR](https://forums.unrealengine.com/u/SOLDIEROSCAR)\
**Post date:** [August 26, 2023, 4:13pm UTC](https://forums.unrealengine.com/t/trying-to-show-enemy-weight-overhead-using-a-widget/1273427/1 "2023-08-26T16:13:12Z")

</div>

The weight is a variable in the character BP.  
I have added a widget in the viewport of the character BP.

In the character BP…

Event Tick \> Cast to WB\_Widgetname and I can drag from there what I want to change

Im stuck on how to get the weight value from the variable back to the widget.

I know if it was a health bar, i could just use “Set Percent”… but I need to figure out how to set a float
