How to make text say a variable

I want to make a score but idk how to make a textbox say a variable. Ive tried looking in the forums and using textName.setText(score) but it doesnt work

Maybe this can help

Also, make sure that you assign your variables in the same script. But if you don’t want it to be in the same script, then make sure the variable is global. You can do this by just adding project.
Example:

project.score = "1"

The solution would ultimately depend on your project and how you code it. If you send the wick file, then maybe I could give you a solid solution.

1 Like


i dont think its working very well…

ok now it works fine. thanks!

1 Like