I've enjoyed exploring GDevelop so far, but I've run into a problem that seems very simple but that I can't fix.
I would like to display the Player's current speed in the top left of the screen.
I have a text object, KMH, which I manipulate with the following event:
(no condition) Do = ToString(PlayerHitBox.LinearVelocityX()) to the text of KMH
This doesn't work. I've tried a number of alternatives, including writing Player instead of PlayerHitBox, and writing Speed, LinearVelocity, AngularVelocity and Longueur instead of LinearVelocityX.
None of these work. I feel like I'm missing something obvious and I'm hoping you can help me out.