Console Logging..?

I’ve been making The Best Game Ever (yes that’s it’s name) for a few hours now, and I tried making a console feature/command input function that prints the console log, and so you can enter in commands, like in DOOM.

The only problem I really have, is that when I used the setText() function, it only really printed the object i was trying to manipulate the text from’s properties. I checked the Chrome DevTools and the console was printing correctly there, so I’m confused. Can someone help?

_

haha tung tung tung sahur.

1 Like

Oh, and for anyone who wants to see my code, it’s here. click on the green box and look at the grey text when you open the .wick file.
The Best Game Ever (Console Test Build) 6-13-2025_12-03-11.wick

1 Like

You have to do this

Project.variable

scoreCounter.setText(project.variable)

That should work, but make sure that it is not in the text clip but in a different one. Also you can change project.variable to anything you like as long as it has project

1 Like

I tried that but it only did the same thing as before.

Let me fix your code one sec

I don’t know, I’m doing what I do for all my stuff and it won’t work. also I don’t have enough time