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
xposition of the mouse - number the current
yposition of the mouse
- number the current
- get_x()Source
returns the
xposition of the mouseReturns
- number the
xposition of the mouse
- number the
- get_y()Source
returns the
yposition of the mouseReturns
- number the
yposition 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