Game.IsMouseVisible Property

Gets or sets a value indicating whether the mouse cursor should be visible.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

Syntax

public bool IsMouseVisible { get; set; }

Property Value

true if the mouse cursor should be visible; false otherwise.

Remarks

Note

This property applies only to Windows development. The Mouse and MouseState objects are not supported on Xbox 360.

See Also

Tasks

How to: Detect Whether a User Clicked a 3D Object

Reference

Game Class
Game Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista