Write the number value in text

Write the global number value in text label?

Hi, in the event editor when you click on your text object go to: “Modify the text” → set to = GlobalVariable(<“name of your global variable”>).

1 Like

Yes, Drona outlines what to do :slight_smile: however, for string global variables, it would be “GlobalVariableString(name)” same idea for scene variables.

and not “GlobalVariable(name)” as that would return to a string of “0” (or “ “ I kinda forgot)

2 Likes