Export (0) Print
Expand All

Mouse.GetState Method

Gets the current state of the mouse, including mouse position and buttons pressed.

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

public static MouseState GetState ()

Return Value

Current state of the mouse.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

© 2014 Microsoft