Text does not display the value of the variable

At the beginning, I must admit that I finally took the step of trying to write an object variable.
I didn’t quite succeed. Contrary.
It looks like I broke something in the gdevelop :sweat_smile:
I read ‘How to use the bug reports category’,
and the first 4 points didn’t help.
With every new project, the same problem.
Uninstalled and reinstalled, still nothing

To the point.
Through Text I try to display the variable number.
Add Action → New Text → Change Text → ToString(NewSprite.Variable(hp))
The hp variable has a value of 100 but displays 0.



Thanks.

I am not seeing a ‘NewSprite’ on the scene. If an object is not in the scene it’s variable can not be read/edited.

2 Likes

I spent too long on the project yesterday… Thanks :sweat_smile: