Newbie: GameLogic not found

When I run the following script in Blender for MacosX, I get a “ImportError: No module named GameLogic” error in my Console. Do I need to install some kind of python module in my /System directory, or elsewhere?

import GameLogic
cont = GameLogic.getCurrentController()
print cont

Thanks.

philroc

https://blenderartists.org/forum/viewtopic.php?t=37566&highlight=gamelogic+module
https://blenderartists.org/forum/viewtopic.php?t=37506&highlight=gamelogic+module
https://blenderartists.org/forum/viewtopic.php?t=35674&highlight=gamelogic+module
https://blenderartists.org/forum/viewtopic.php?t=33525&highlight=gamelogic+module

“For fast-acting relief, try slowing down.”

OK, I will try to slow down. :smiley:

Thanks for the pointers to the threads containing the answer.