How to find out distance between two points

Hello again, im trying to make a distance indicator but i have no idea how to find out the distance between the player and the center of the level. The code i (technically) made outputs two numbers which i have no idea how to process into a single number that i can later display on the screen.


Thanks in advance.

You have the calculation correct :slight_smile:

1 Like

but then when the calculation is correct, why does it output two numbers? im trying to get only one number - distance in meters (or something like that)

You’re printing it ( using a print node ), and in the widget BP…

and now i understand it. thank you!

1 Like