How to create a UI for hunger system with UMG?

I Wanna create a UI for my hunger system with UMG. I Have a hunger variable that drops by 1% every 10 second from 100% to 0%. I Wanna build a simple UI for my hunger system that tells me the percentage of my hunger variable on the screen (For example: 45%) and i want it to look like this:

PLEASE if there is anyone in the staff or anybody that can tell me how can i acheive that, i’d appreciate it alot. thank you.

Hello,

You can start with a basic hunger system in your Character Blueprint. There is a good example of this made by Tesla:

Then I was able to use a simple Text Block in my UMG Widget. I bound a Text binding. Then in the event graph, I made a Get Player Character, then dragged from that to "Cast To" the character blueprint with the hunger system. From the Cast, you can get your hunger variable. Here is an example using Health instead:

Let me know if you have any questions.

Thank u it works magically. How cann i do this with progress bar?

That has a basic example of setting up a dynamic image with the percentage of health/ammo/etc with the binding.