Game Development Community

Problem with making the mouse visible

by Viktor Rumanuk · in Torque X 2D · 12/08/2007 (1:52 pm) · 5 replies

Ok, I know that:
this.ismousevisible = true;
should work, but the program does not recognize it. Has there been a change in something? I have:
using Microsoft.Xna.Framework.Input;


Thanks, Viktor

#1
12/08/2007 (1:55 pm)
Have you tried :

TorqueEngineComponent.Instance.Game.IsMouseVisible = true;
#2
12/08/2007 (2:31 pm)
When I try that I get an error that says that the name 'TorqueEngineComponent' does not exist in the current context.
#3
12/08/2007 (2:49 pm)
Do you have this in your using section up top?
using GarageGames.Torque.XNA;
#4
12/08/2007 (3:09 pm)
Duh, had to be something like this. Working fine now. Thanks for the quick help David.
#5
12/08/2007 (3:10 pm)
Hey np, I had the same question myself just a few weeks ago :)