Event.MouseButtonEvent

Mouse buttons events parameters (MouseButtonPressed, MouseButtonReleased)

struct Event
struct MouseButtonEvent {}

Members

Variables

button
Mouse.Button button;

Code of the button that has been pressed.

x
int x;

X position of the mouse pointer, relative to the left of the owner window.

y
int y;

Y position of the mouse pointer, relative to the top of the owner window.

Meta