MouseState.LeftButton Property

Returns the state of the left mouse button.
Bb197787.note(en-us,XNAGameStudio.41).gifXbox 360 Specific Information
The value of this property is always ButtonState.Released.

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

public ButtonState LeftButton { get; }

Property Value

State of the left mouse button.

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

Community Additions