Skip to content

class MouseEvent < BaseEvent

An class representing a Mouse event

#pos public

the x,y coordinates of the mouse

Returns

Returns Hokusai::Vec2

#delta public

the x,y delta coordinates

Returns

Returns Hokusai::Vec2

#scroll public

the scroll amount

Returns

Returns Float

#scroll_delta public

the scroll delta value

Returns

Returns Float

#left public

the details of the left mouse button

Returns

Returns Hokusai::MouseButton

the details of the middle mouse button

Returns

Returns Hokusai::MouseButton

#middle public

the details of the right mouse button

Returns

Returns Hokusai::MouseButton