HEALTH C++ CALLING WIDGET IS IT POSSIBLE? without blueprint

I was looking to create a health bar. Is it possible to make a health bar texture within unreal widget or etc? or will i need my own texture?

Use a progress bar, they are designed for this sort of thing.

SProgressBar or UProgressBar, depending on whether you’re using Slate or UMG.

Thank you, however, I am still trying to figure out how to use UProgressBar. Every example I have found for this has been a blueprint.