Module: input/mouse
Enumerations
Classes
Type aliases
MouseCallback
ฦฌ MouseCallback: (pressed
: boolean
, pos
: vec2
, e
: MouseEvent
) => void
Type declaration
โธ (pressed
, pos
, e
): void
A callback to be executed on mouse button events.
Parameters
Name | Type |
---|---|
pressed | boolean |
pos | vec2 |
e | MouseEvent |
Returns
void
Defined in
src/input/mouse.ts:16