SFML.Net
MouseGetPosition Method (Window) |
Get the current position of the mouse
Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)

public static Vector2i GetPosition( Window relativeTo )
Public Shared Function GetPosition ( relativeTo As Window ) As Vector2i
public: static Vector2i GetPosition( Window^ relativeTo )
static member GetPosition : relativeTo : Window -> Vector2i
Parameters
- relativeTo
- Type: SFML.WindowWindow
Reference window
Return Value
Type: Vector2iCurrent position of the mouse
