Shoot indicator

Hope someone understand my question, but how to make or is there tutorial how to made “indicator” or bar where is power of shooting force. I mean for example in golf game where is that how big power player hit the ball

You can calculate the time between button press and button release and you can use that time to calculate the force. In the UMG widget add a progress bar component , cast to your pawn and use Map Range Clamp node to clamp the force value between 0 and 1 and use that value for the progress bar.

Okay thanks, i search tutorials to that in google, but not find any decent. Target is really to make project where to shoot arrows and player can with button or mouse to adjust the power