SFML.Net
MouseIsButtonPressed Method |
Check if a mouse button is pressed
Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)

public static bool IsButtonPressed( MouseButton button )
Public Shared Function IsButtonPressed ( button As MouseButton ) As Boolean
public: static bool IsButtonPressed( MouseButton button )
static member IsButtonPressed : button : MouseButton -> bool
Parameters
- button
- Type: SFML.WindowMouseButton
Button to check
Return Value
Type: BooleanTrue if the button is pressed, false otherwise
