Advertisement
metalx1000

Blender 3D Game - mouse cursor position

Jan 24th, 2012
462
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. import bge
  2.  
  3. cont = bge.logic.getCurrentController()
  4.  
  5. mouse = cont.sensors["Mouse"]
  6. print(mouse.position[0] , mouse.position[1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement