Mouse Methods

SFML.Net

Mouse Methods

The Mouse type exposes the following members.

Methods
  Name Description
Public method Static member GetPosition
Get the current position of the mouse
Public method Static member GetPosition(Window)
Get the current position of the mouse
Public method Static member IsButtonPressed
Check if a mouse button is pressed
Public method Static member SetPosition(Vector2i)
Set the current position of the mouse
Public method Static member SetPosition(Vector2i, Window)
Set the current position of the mouse
Top
See Also