# Mouse class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
[Handler(Mouse.IHandler)]
public static class Mouse
```

Static methods to get the current mouse state

## Properties

- [Buttons](https://eto.picoe.ca/api/type/eto.forms.mouse/buttons.md): (static) Gets the current state of the mouse buttons
- [IsSupported](https://eto.picoe.ca/api/type/eto.forms.mouse/issupported.md): (static) Gets a value indicating whether the current platform supports mouse functions in this class
- [Position](https://eto.picoe.ca/api/type/eto.forms.mouse/position.md): (static) Gets or sets the current mouse position in screen coordinates

## Methods

- [IsAnyButtonPressed](https://eto.picoe.ca/api/type/eto.forms.mouse/isanybuttonpressed.md): (static) Returns true if any of the specified mouse buttons is pressed.
- [SetCursor](https://eto.picoe.ca/api/type/eto.forms.mouse/setcursor.md): (static) Temporarily sets the current mouse pointer to the specified `cursor`.
