vanishing mouse


(KingJames) #1

How do I keep my mouse from vainshing when I start the game engine? I’m doing a simple test by moving a box when the mouse is over it.

Thanks,
KJV


(S_W) #2

There is something like a ShowCursor() command in python…but i’m not sure about it. Perhaps you could try it in the python forum.


(KingJames) #3

Thanks for the hint. It led me down a path to find the correct command.

I created a python file (showmouse.py in my example):


import Rasterizer

Rasterizer.showMouse(1)

I then set a sensor on a given object to always and attached it to a controller type python with the showmouse.py file attached.