How to make this Mouse Cursor Script work in Blender 2.74? (BGE) It seems that now I upgraded to Blender 2.74 this Mouse Cursor script no longer works.  I do not know Python but I think that there would be only little changes to be done.  Thanks!

from bge import logic
controller = logic.getCurrentController()
own = controller.owner

mouse = controller.sensors['mouse']

hitPosition = mouse.hitPosition

own.worldPosition.x = hitPosition.x
own.worldPosition.y = hitPosition.y
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.