Working with Mouse Input

XNA Game Studio 4.0

This section provides topics that demonstrate how to write code that supports mouse input in XNA Game Studio.

In This Section

Getting the Mouse Position (Windows, Windows Phone)
Demonstrates how to get the current horizontal and vertical position of the mouse cursor relative to the upper-left corner of a game window.

See Also

Community Additions