Widget for height jump ?

hi everyone, i’m just trying to display the height of my character’s jumps, let me explain, i want that when he doesn’t jump the numerical values are 0 and when he jumps this increases and when he touches the ground this value goes down to 0. I haven’t found anything on the net yet, thank you all!

  • in the widget BP:

  • in the player BP:

Thank you for your respond but a i don’t find this component .

Capture d’écran 2022-10-18 114510

Capture d’écran 2022-10-18 114455

image

  • choose a class for the widget, right click the Return Value and:

  • this is a vector - vector node, pins can be split by right-clicking them:

image

  • these are not components, they are variables, here they are referencing a widget:

image

Once you have a variable, you can drag it into the graph and either Get or Set it. Read values from it or Overwrite them.


More about variables:

i don’t have an error but the numerical doesn’t change.

Capture d’écran 2022-10-18 122134

Capture d’écran 2022-10-18 122238

Compare this to mine:

image

It’s good now , sorry I thought it wouldn’t change anything.
Thank you so much

1 Like

If the player ever ends up really high up:

image

You may need to increase this value. This is enough for 20 meters.