Why my "


I input “import GameLogic” at Line 1,but error.
How can i do it?
Thank you!

I believe it’s:

import bge

This will still fail to run in the text editor. BGE scripts currently only work in the BGE, as far as I know.
You might want to check out the templates if you’re just beginning with Python.