Event.MouseEvent

For base type mouseDown, mouseUp and mouseUpdate.

struct Event
struct MouseEvent {}

Members

Variables

button
MouseButton button;

Button pressed or not.

clicks
uint clicks;

How many time the button was pressed.

position
Vec2f position;

Mouse position relative to its canvas. (Not an absolute position)

Meta