Module function reference

press_mouse

A reference entry for press_mouse

Module function · Input

press_mouse (number button) ⇒ boolean

Presses the mouse button given by button, which is a constant from the Input module (e.g. Input::LEFT_MOUSE_BUTTON).