Mouse Class

Note

This class is available only when developing for Windows.

Allows retrieval of position and button clicks from a mouse input device.

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

Syntax

public static class Mouse

See Also

Tasks

How to: Get the Current Mouse Position (Windows)

Concepts

Input Overview

Reference

Mouse Members
Microsoft.Xna.Framework.Input Namespace

Platforms

Windows XP SP2, Windows Vista