I’m new to Gdevelop and I’m trying to make a game about potatoes, I’m made a text object which displays “You have X Potatoes” (X being the number of potatoes you have). I don’t understand how to change the text so that the X is a number variable, I already have the number variable adding 1 every second, but I don’t know how to replace X with it without changing the rest of the text. Please help, thanks!

Modify text set to “You have " + variable(X) + " potatoes.”
Oh I forgot, when you start writing your variable it will ToString it.
Thank you for the reply!
I’ll try the code out!
Alright just get back to us if it doesn’t work.
It worked,
Thank you so much!