learn-gdscript
learn-gdscript copied to clipboard
print() not working
When I try and use the print() function for debugging in the practice sections, it does not seem to work. If I write something as simple as
print("Hello")
I'm met with this error:
Unexpected token: Built-In Func
Am I off with my syntax? Or am I missing something else?
Could you please show me the entire code you're trying to write?
In GDScript calls to functions like print() should always be inside of functions. If you're trying to write it at the top of the code, outside of functions, it's normal for you to see this error.