Method | Description | |
---|---|---|
GetPosition ( ) : Vector2i |
Get the current position of the mouse
|
|
GetPosition ( |
Get the current position of the mouse
|
|
IsButtonPressed ( Button button ) : bool |
Check if a mouse button is pressed
|
|
SetPosition ( Vector2i position ) : void |
Set the current position of the mouse
|
|
SetPosition ( Vector2i position, |
Set the current position of the mouse
|
Method | Description | |
---|---|---|
sfMouse_getPosition ( |
||
sfMouse_isButtonPressed ( Button button ) : bool | ||
sfMouse_setPosition ( Vector2i position, |
public static GetPosition ( |
||
relativeTo | Reference window | |
return | Vector2i |
public static IsButtonPressed ( Button button ) : bool | ||
button | Button | Button to check |
return | bool |
public static SetPosition ( Vector2i position ) : void | ||
position | Vector2i | New position of the mouse |
return | void |
public static SetPosition ( Vector2i position, |
||
position | Vector2i | New position of the mouse |
relativeTo | Reference window | |
return | void |