Looking for a good Mouse script

Ok I’m sure this has been asked before but did not find it. Go ahead and blame me for not looking hard enough, but anyway I’m looking for a good and accurate script, or technic that connects an object to the mouse and fallows closly on top of it. Thanks

umm, you mean like a cursor?

there is no good way to line up a system cursor with the game (so that you can use mouseover sensors right, instead of some hack ray sensor thing). I think you would be better off sticking with the system cursor which can be shown or hidden with a bit of code:

import Rasterizer

which will hide the cursor, set the 0 to a 1 to show it

(it is annoying, blender by default hides the cursor, the blender player by default shows it)