Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This structure is available only when developing for Windows.
Represents the state of a mouse input device, including mouse cursor position and buttons pressed.
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
[SerializableAttribute]
public struct MouseState
See Also
Tasks
How to: Get the Current Mouse Position (Windows)
Concepts
Reference
MouseState Members
Microsoft.Xna.Framework.Input Namespace
Platforms
Windows XP SP2, Windows Vista