How to make odometer reading

how to make odometer so that when i run the car it start showing the distance covered by car in kilometer

I want to display distance count in Kilometer travelled by car but when i run the car distance stuck to 0 and didn’t count.

alt text

First of all. Look at the error message. You’ve attempted to treat a car BP as if it was a character. The cast failed - could this be the culprit? Charref? Character reference? What does a character have to do with any of it?

You could just do this rather than fiddle with casting and references:

Ensure the text block is flagged as is Variable (very top of the Details panel). You do not need to do anything else in the widget, so you can get rid of that function bind.

actually im new in UE. My main focus is to build landscape not familiar with blueprint or u can say nothing. And im making a car simulator game.
so it will be good if u can send me all photos and steps to make this blueprint

Thank you

I did. That’s all you need. I’m assuming you’re already calculating distance travelled since you’re using it. Format the text as you did, and that’s it.