MouseState Structure
Represents the state of a mouse input device, including mouse cursor position and buttons pressed.
Xbox 360 Specific Information |
---|
The state of any mouse button is always ButtonState.Released, and the current mouse position and scrollwheel value are always 0. |
Xbox 360 Specific Information |
---|
The state of any mouse button is always ButtonState.Released and the current mouse position and scrollwheel values are always 0. |
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
[SerializableAttribute]
public struct MouseState
See Also
Tasks
Getting the Mouse Position (Windows, Windows Phone)
Concepts
Overview of User Input and Input Devices
Reference
MouseState Members
Microsoft.Xna.Framework.Input Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone