How to get this widget BP too work

Hi I’m to make a widget that gives the velocity of a player pawn. the player move by impulse not a movement component. I’m using a custom progress bar.

I want the progress bar to do two things

  1. to be empty when the velocity is 0
  2. to be full when the velocity is at max which is 200

This thing I suggested works precisely as you described: