Mouse cursor only in game menu ?

Hello, boys and girls :slight_smile: there is Display Mouse Cursor option under Render Tab in GE mode. With it option enabled mouse cursor is showing up in every game scene. How to make it showing up only in game menu scene?

hmmn…i believe thats actually for debugging purposes?

you can use this python code to show mouse pointer on the game menu

from bge import render as r
r.showMouse(1)

and when not in game menu, to hide mouse pointer

from bge import render as r
r.showMouse(0)

i am not on a pc right now so cant check the code.

Thx for code saga, but is it possible to do the same with logic bricks?

I would use python to do it, only include it in the menu, and no where else.

You can use the [B]Cursor[/B] module. So you do not need to fight with the code by yourself.