Header menu logo Mibo

MouseDelta Type

Mouse state delta containing position and button changes.

This struct is emitted when mouse state changes (movement, button press, or scroll wheel).

Record fields

Record Field Description

Buttons

Full Usage: Buttons

Field type: MouseButtons

Button state changes.

Field type: MouseButtons

Position

Full Usage: Position

Field type: Point

Current mouse position in screen coordinates.

Field type: Point

PositionDelta

Full Usage: PositionDelta

Field type: Point

Change in position since last frame.

Field type: Point

ScrollDelta

Full Usage: ScrollDelta

Field type: int

Scroll wheel delta (positive = up, negative = down).

Field type: int

Type something to start searching.