notes/Blender 3D Game mouse cursor position-VShrKXi6.sh
import bge

cont = bge.logic.getCurrentController()

mouse = cont.sensors["Mouse"]
print(mouse.position[0] , mouse.position[1])

syntax highlighted by Code2HTML, v. 0.9.1