MouseButtonEvent

The Mouse button Event structure.

Members

Variables

button
Mouse.Button button;

The mouse button which is pressed or released.

clicks
ubyte clicks;

1 for single-click, 2 for double-click, etc.

isPressed
bool isPressed;

true, if the button is pressed

x
int x;

Current x position.

y
int y;

Current y position.

Meta