Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetState Method
Collapse the table of content
Expand the table of content

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

ADD
Show:
© 2015 Microsoft