Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Mouse button pressed event subtype. More...
#include <SFML/Window/Event.hpp>
Public Attributes | |
Mouse::Button | button {} |
Code of the button that has been pressed. | |
Vector2i | position |
Position of the mouse pointer, relative to the top left of the owner window. |
Mouse::Button sf::Event::MouseButtonPressed::button {} |
Vector2i sf::Event::MouseButtonPressed::position |