How to make this Mouse Cursor Script work in Blender 2.74? (BGE)
This works for me. I changed it as little as possible. The red plane called "png" is the plane of your cursor. In the ground plane I put a mouse-over sensor called "mouse". I also activated true pulse trigger so that the script will run constantly when your cursor is over something.