Adam P
Adam P

Reputation: 4703

XNA - Cannot See Mouse in Game

I've recently started checking out XNA. All is going well and I've even got a working sample started. One thing that's been bugging me is that whenever I place my mouse over the game window it disappears. I don't know if this is the default behavior but I would like to change this so that I can see my mouse. Any and all advice is appreciated.

Upvotes: 6

Views: 2105

Answers (1)

Jesse Emond
Jesse Emond

Reputation: 7490

Simply set IsMouseVisible to true in your main game class(preferably in your Initialize method or Game class constructor) :

IsMouseVisible = true;

Upvotes: 11

Related Questions