Exit by pressing #40
Answered
by
gilzoide
Mikhail666999
asked this question in
Q&A
-
Hello it's me again) This time I have a different problem. I'm trying to exit by clicking. godot throws this error What am I wrong about? |
Beta Was this translation helpful? Give feedback.
Answered by
gilzoide
Jan 8, 2023
Replies: 1 comment 3 replies
-
The problem is probably the lack of using Lua's method notation: self:get_tree():quit()
-- ^ here! |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Mikhail666999
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem is probably the lack of using Lua's method notation: