# Floating power meter will not display on keyboard press

**URL:** <https://forums.unrealengine.com/t/floating-power-meter-will-not-display-on-keyboard-press/2143837>\
**Category:** UI\
**Tags:** unreal-engine, question\
**Created:** [November 22, 2024, 4:52pm UTC](https://forums.unrealengine.com/t/floating-power-meter-will-not-display-on-keyboard-press/2143837 "2024-11-22T16:52:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nortksi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nortksi](https://forums.unrealengine.com/u/Nortksi)\
**Post date:** [November 22, 2024, 4:52pm UTC](https://forums.unrealengine.com/t/floating-power-meter-will-not-display-on-keyboard-press/2143837/1 "2024-11-22T16:52:45Z")

</div>

I want to display a power meter underneath the third person character when the player presses and holds a keyboard button. Upon release the bar should then disappear.  
I have created a progress bar widget and have placed it in the desired position as a widget component in the third person character blueprint.

If I set the initial visibility to Not Hit - Testable it will display in the correct position, the meter updates as it should when the button is pressed and will then disappear after the desired delay.  
However; if I set the initial visibility to Hidden, it will not display when the button is pressed. How can I fix this?

 ![pb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/6/6a678f466598c795e9036843700e2fbdec89b4f9.jpeg)

---

<div class="post-metadata">

**Author:** ![Nortksi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nortksi](https://forums.unrealengine.com/u/Nortksi)\
**Post date:** [November 22, 2024, 5:24pm UTC](https://forums.unrealengine.com/t/floating-power-meter-will-not-display-on-keyboard-press/2143837/2 "2024-11-22T17:24:55Z")

</div>

As a workaround I have set the initial visibility to Not Hit - Testable but on event construct I set the visibility to hidden. Seems to work fine now.
