Locking the mouse pointer

Blitz3D Forums/Blitz3D Beginners Area/Locking the mouse pointer

A51M15X(Posted 2009) [#1]
How do i lock the mouse pointer to the center of the window?


Matty(Posted 2009) [#2]
Each frame call the command "movemouse x,y" and pass the centre of the window's x/y coordinates.

IE movemouse graphicswidth()/2,graphicsheight()/2


A51M15X(Posted 2009) [#3]
thanks