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 property is available only when developing for Windows.
Returns the state of the left mouse button.
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public ButtonState LeftButton { get; }
Property Value
State of the left mouse button.
See Also
Reference
MouseState Structure
MouseState Members
Microsoft.Xna.Framework.Input Namespace
Platforms
Windows XP SP2, Windows Vista