The MouseState type exposes the following members.

Fields

  NameDescription
Public fieldButton
The pressed mouse button.
Public fieldMouseWheel
The position of the mouse wheel.
Public fieldX
The x coordinate of the mouse.
Public fieldY
The y coordinate of the mouse.

See Also