# Using python as a controller in Blender Game Engine

I'm trying to learn how to use BGE, and one of the things I'd like to do is programatically move the cube using a python script. I added a controller but no luck. See screenshot. I'm trying to run the python script at the top of the page, all it's supposed to do is move the cube a little. It works if I click "Run Script" but I want it to happen automatically when BGE is running. What am I missing?

• You don't use bpy in the game engine.. – iKlsR Jul 8 '13 at 15:53

import bge