Cursor script in 2.5?

I’ve been searching for HOURS for a 3D cursor script that works with blender 2.5 and up. I need a 3d cursor to move where my mouse moves. help would be appreciated.

Google it, I got it in like a minute .

Will post in a sec.

import Rasterizer as r
r.showMouse(1)

If that doesn’t work, tell me, and I’ll give you one that I KNOW works, because I use it in my game.

oh im sorry i’ll edit now- what i meant was a 3D cursor script. basically i would need an object to move where my cursor moves.