MouseState Properties

Public PropertyLeftButtonReturns the state of the left mouse button.
Public PropertyMiddleButtonReturns the state of the middle mouse button.
Public PropertyRightButtonReturns the state of the right mouse button.
Public PropertyScrollWheelValueGets the cumulative mouse scroll wheel value since the game was started.
Public PropertyXSpecifies the horizontal position of the mouse cursor.
Public PropertyXButton1Returns the state of XBUTTON1.
Public PropertyXButton2Returns the state of XBUTTON2.
Public PropertyYSpecifies the vertical position of the mouse cursor.

Community Additions