SFML.Net
Mouse Class |
Give access to the real-time state of the mouse

SystemObject SFML.WindowMouse
Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)

The Mouse type exposes the following members.

Name | Description | |
---|---|---|
![]() ![]() | GetPosition |
Get the current position of the mouse
|
![]() ![]() | GetPosition(Window) |
Get the current position of the mouse
|
![]() ![]() | IsButtonPressed |
Check if a mouse button is pressed
|
![]() ![]() | SetPosition(Vector2i) |
Set the current position of the mouse
|
![]() ![]() | SetPosition(Vector2i, Window) |
Set the current position of the mouse
|
