c3d.mouse
the mouse module is used for getting inputs from the mouse. similiar to the keyboard module
get_position() | returns the current mouse position |
---|---|
get_x() | returns the x position of the mouse |
get_y() | returns the y position of the mouse |
is_down(...) | returns if all of the inputed mouse buttons are held down |
- get_position()Source
returns the current mouse position
Returns
- number the current
x
position of the mouse - number the current
y
position of the mouse
- number the current
- get_x()Source
returns the
x
position of the mouseReturns
- number the
x
position of the mouse
- number the
- get_y()Source
returns the
y
position of the mouseReturns
- number the
y
position of the mouse
- number the
- is_down(...)Source
returns if all of the inputed mouse buttons are held down
Parameters
- ... number all of the mouse buttons to check
Returns
- boolean whether all of the inputed mouse buttons are held down