Parenting an object to mouse

Hi :)!

I already know the code to show the mouse in the BGE, but is there a way to parent something (lets say a cube) to the mouse?

Thanks in advance :stuck_out_tongue:

Whoops! Found what I was looking for through some simple searching (lesson learned :D!) here:

http://blenderartists.org/forum/showthread.php?t=80859&highlight=parenting+mouse

Sorry!