Event.MouseWheelEvent

Mouse wheel events parameters (MouseWheelMoved)

struct Event
deprecated("This event is deprecated and potentially inaccurate. Use MouseWheelScrollEvent instead.")
struct MouseWheelEvent {}

Members

Variables

delta
int delta;

Number of ticks the wheel has moved (positive is up, negative is down)

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