Newbie: show mouse cursor

(numaQ) #1

Always a newbie question,
How can I make the mouse cursor automatically appear
at the beginning of the game ?

Is there a key to press ?

(corban) #2

add to one object in your game an AlwaysSensor and with all buttons deactivated. open a text window (in Blender) and type the following code:

import Rasterizer

name this script as “mouse” and add a PythonController to your sensor and type “mouse” in the “Script” field.

now, when you start your game by pressing ‘p’ the mouse should show. of course you can use instead of the AlwaysSensor a KeyboardSensor, so that you need to press a key to show the mouse.

hope that helps,