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

  1. number the current x position of the mouse
  2. number the current y position of the mouse
get_x()Source

returns the x position of the mouse

Returns

  1. number the x position of the mouse
get_y()Source

returns the y position of the mouse

Returns

  1. number the y position of the mouse
is_down(...)Source

returns if all of the inputed mouse buttons are held down

Parameters

  1. ... number all of the mouse buttons to check

Returns

  1. boolean whether all of the inputed mouse buttons are held down