I've been messing around with the game engine for a bit and decided to do some testing with python. What I have set up is a logic brick that executes a python script every time I press "W". The script should then print out a line.

What I don't understand is where the script's output goes. I don't see anything in the console or anywhere else. Does it output at all? Do you need a special bge function to print lines into the console?


That's simple. Go to Window > Toggle System Console

enter image description here

Result: enter image description here

  • $\begingroup$ works like a charm, thanks for the answer. $\endgroup$ – kanuki Nov 15 '18 at 15:18

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.