Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MouseState Properties

MouseState Properties

NameDescription
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.
Show:
© 2015 Microsoft