All Bundles

MouseMotionEvent

Mouse motion event

Operations

GetRelX

Relative motion in the X direction

method : public : GetRelX() ~ Int
Return
TypeDescription
IntX direction

GetRelY

Relative motion in the Y direction

method : public : GetRelY() ~ Int
Return
TypeDescription
IntY direction

GetState

State of the button

method : public : GetState() ~ Int
Return
TypeDescription
Intbutton state

GetTimestamp

Timestamp of the event

method : public : GetTimestamp() ~ Int
Return
TypeDescription
Intevent timestamp

GetType

Event type

method : public : GetType() ~ Int
Return
TypeDescription
IntEventType->SDL_MOUSEMOTION

GetWhich

Mouse instance id or -1

method : public : GetWhich() ~ Int

GetWindowID

Window with mouse focus, if any

method : public : GetWindowID() ~ Int
Return
TypeDescription
Intwindow ID

GetX

X coordinate, relative to window

method : public : GetX() ~ Int
Return
TypeDescription
IntX coordinate

GetY

Y coordinate, relative to window

method : public : GetY() ~ Int
Return
TypeDescription
IntY coordinate